# HG changeset patch
# User Steve Borho <[email protected]>
# 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)
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to