diff options
author | Martijn Berger <martijn.berger@gmail.com> | 2014-01-15 00:49:48 +0400 |
---|---|---|
committer | Martijn Berger <martijn.berger@gmail.com> | 2014-01-15 00:49:48 +0400 |
commit | 993b946681d91178eb318973da3db33428bc58a0 (patch) | |
tree | 208ca36f6dea6feb6db6e0739d2fc1a86926cfd2 /intern/cycles/kernel/CMakeLists.txt | |
parent | ec81feab6649c70e43cfab4e8bda268815b8af2b (diff) |
DingTo forgot to make sure kernel_sse41 is compiled in even when empty
Diffstat (limited to 'intern/cycles/kernel/CMakeLists.txt')
-rw-r--r-- | intern/cycles/kernel/CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 81499bbfda8..780aa417828 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -14,6 +14,7 @@ set(SRC kernel.cpp kernel_sse2.cpp kernel_sse3.cpp + kernel_sse41.cpp kernel.cl kernel.cu ) @@ -194,13 +195,7 @@ include_directories(SYSTEM ${INC_SYS}) set_source_files_properties(kernel_sse2.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_SSE2_KERNEL_FLAGS}") set_source_files_properties(kernel_sse3.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_SSE3_KERNEL_FLAGS}") - -if(WITH_CYCLES_OPTIMIZED_KERNEL_SSE41) - set_source_files_properties(kernel_sse41.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_SSE41_KERNEL_FLAGS}") - list(APPEND SRC - kernel_sse41.cpp - ) -endif() +set_source_files_properties(kernel_sse41.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_SSE41_KERNEL_FLAGS}") add_library(cycles_kernel ${SRC} ${SRC_HEADERS} ${SRC_CLOSURE_HEADERS} ${SRC_SVM_HEADERS}) |