diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-15 01:51:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-31 23:31:08 +0300 |
commit | b8fc4fe5aa542064c44db3476c8d8911bf674f01 (patch) | |
tree | 32c7044aae932a53f6f01c63837bc4437f321f41 /intern | |
parent | 93ca68b50c9112748366de4573f6554b7368d7cc (diff) |
Cycles: Correction to previous SSE/AVX flags detection
Ensure AVX/AVX2 is not used when Cycles is configured with
WITH_CPU_SSE set to OFF.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt index a7767488a73..4facb8d4ff9 100644 --- a/intern/cycles/CMakeLists.txt +++ b/intern/cycles/CMakeLists.txt @@ -16,6 +16,8 @@ include(cmake/external_libs.cmake) if(NOT WITH_CPU_SSE) set(CXX_HAS_SSE FALSE) + set(CXX_HAS_AVX FALSE) + set(CXX_HAS_AVX2 FALSE) elseif(WIN32 AND MSVC) set(CXX_HAS_SSE TRUE) set(CXX_HAS_AVX TRUE) |