Here's a patch to print the correct target processor on x86_64 machines:

--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -37,12 +37,14 @@
 set(X86_ALIASES x86 i386 i686 x86_64 amd64)
 list(FIND X86_ALIASES "${SYSPROC}" X86MATCH)
 if("${SYSPROC}" STREQUAL "" OR X86MATCH GREATER "-1")
-    message(STATUS "Detected x86 target processor")
     set(X86 1)
     add_definitions(-DX265_ARCH_X86=1)
     if("${CMAKE_SIZEOF_VOID_P}" MATCHES 8)
+        message(STATUS "Detected x86_64 target processor")
         set(X64 1)
         add_definitions(-DX86_64=1)
+    elseif()
+        message(STATUS "Detected x86 target processor")
     endif()
 elseif(${SYSPROC} STREQUAL "armv6l")
     message(STATUS "Detected ARM target processor")


_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to