diff options
Diffstat (limited to 'build_files/build_environment/cmake/embree.cmake')
-rw-r--r-- | build_files/build_environment/cmake/embree.cmake | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/build_files/build_environment/cmake/embree.cmake b/build_files/build_environment/cmake/embree.cmake index f4e70bb41ee..66a86cd5dbd 100644 --- a/build_files/build_environment/cmake/embree.cmake +++ b/build_files/build_environment/cmake/embree.cmake @@ -19,12 +19,6 @@ # Note the utility apps may use png/tiff/gif system libraries, but the # library itself does not depend on them, so should give no problems. -if(APPLE AND "${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64") - set(EMBREE_MAX_ISA SSE2) -else() - set(EMBREE_MAX_ISA AVX2) -endif() - set(EMBREE_EXTRA_ARGS -DEMBREE_ISPC_SUPPORT=OFF -DEMBREE_TUTORIALS=OFF @@ -32,7 +26,7 @@ set(EMBREE_EXTRA_ARGS -DEMBREE_RAY_MASK=ON -DEMBREE_FILTER_FUNCTION=ON -DEMBREE_BACKFACE_CULLING=OFF - -DEMBREE_MAX_ISA=${EMBREE_MAX_ISA} + -DEMBREE_MAX_ISA=AVX2 -DEMBREE_TASKING_SYSTEM=TBB -DEMBREE_TBB_ROOT=${LIBDIR}/tbb -DTBB_STATIC_LIB=${TBB_STATIC_LIBRARY} |