Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 12:53:12 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 12:53:12 +0400
commit4b8430ae8aaab4374310e2f9a91aa253ec2f4ab2 (patch)
treefd9720d408db9a321deb0ea6ca02929a3a5ee648 /build_files
parentd79f679896dffd5cfe0dc169ea021e63e6d671ba (diff)
CMake: Add a flag to explicitly disable SSE/SSE2 intrinsics
The flag is called WITH_CPU_SSE, it is ON by default so no one should be affected by the change really. This should hopefully fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763755
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/macros.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index b42e62e719c..70109cb5355 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -722,6 +722,8 @@ macro(TEST_SSE_SUPPORT
endmacro()
macro(TEST_STDBOOL_SUPPORT)
+ include(CheckCSourceRuns)
+
# This program will compile correctly if and only if
# this C compiler supports C99 stdbool.
check_c_source_runs("