[x265] [PATCH] cmake: default ENABLE_ASSEMBLY=OFF for non-x86 builds (refs #167)

Steve Borho steve at borho.org
Mon Aug 17 07:56:05 CEST 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1439790925 -19800
#      Mon Aug 17 11:25:25 2015 +0530
# Branch stable
# Node ID 579bb9a5758c69c07ab394b1a56e5a1b19607356
# Parent  b1122196cd748e2a6fba207e4466d84d87415de3
cmake: default ENABLE_ASSEMBLY=OFF for non-x86 builds (refs #167)

diff -r b1122196cd74 -r 579bb9a5758c source/CMakeLists.txt
--- a/source/CMakeLists.txt	Tue Aug 11 19:23:00 2015 +0530
+++ b/source/CMakeLists.txt	Mon Aug 17 11:25:25 2015 +0530
@@ -266,6 +266,8 @@
         message(STATUS "Found Yasm ${YASM_VERSION_STRING} to build assembly primitives")
         option(ENABLE_ASSEMBLY "Enable use of assembly coded primitives" ON)
     endif()
+else()
+    option(ENABLE_ASSEMBLY "Enable use of assembly coded primitives" OFF)
 endif()
 
 option(CHECKED_BUILD "Enable run-time sanity checks (debugging)" OFF)


More information about the x265-devel mailing list