diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-08-09 20:19:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-08-09 20:19:54 +0300 |
commit | 752fb5dd081233f4f6ec389503cc4e7bec15e772 (patch) | |
tree | f467cff8b7436acea1bd09b27b2869da56ab0f16 /intern/cycles/util/CMakeLists.txt | |
parent | 1e8e70a90cdafa94746dd8aaee886a5747ff9d9e (diff) | |
parent | 79f1cc601cdbcf142e1bf4c1966f64dcf93b030f (diff) |
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'intern/cycles/util/CMakeLists.txt')
-rw-r--r-- | intern/cycles/util/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/intern/cycles/util/CMakeLists.txt b/intern/cycles/util/CMakeLists.txt index e70f65e124c..81a7607baab 100644 --- a/intern/cycles/util/CMakeLists.txt +++ b/intern/cycles/util/CMakeLists.txt @@ -26,6 +26,8 @@ set(SRC thread.cpp time.cpp transform.cpp + transform_avx2.cpp + transform_sse41.cpp windows.cpp ) @@ -137,6 +139,13 @@ set(SRC_HEADERS xml.h ) +if(CXX_HAS_SSE) + set_source_files_properties(transform_sse41.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_SSE41_KERNEL_FLAGS}") +endif() +if(CXX_HAS_AVX2) + set_source_files_properties(transform_avx2.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX2_KERNEL_FLAGS}") +endif() + include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) |