[x265] [PATCH] Fix CMake to be able to detect powerpc64 / powerpc64le
Brad Smith
brad at comstyle.com
Sat May 20 23:18:22 UTC 2023
Fix CMake to be able to detect powerpc64 / powerpc64le.
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 882ea0697..5120708cb 100755
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -49,7 +49,7 @@ set(ARM64_ALIASES arm64 arm64e aarch64)
list(FIND X86_ALIASES "${SYSPROC}" X86MATCH)
list(FIND ARM_ALIASES "${SYSPROC}" ARMMATCH)
list(FIND ARM64_ALIASES "${SYSPROC}" ARM64MATCH)
-set(POWER_ALIASES ppc64 ppc64le)
+set(POWER_ALIASES powerpc64 powerpc64le ppc64 ppc64le)
list(FIND POWER_ALIASES "${SYSPROC}" POWERMATCH)
if(X86MATCH GREATER "-1")
set(X86 1)
More information about the x265-devel
mailing list