Commit c4477a40 authored by Chuck Atkins's avatar Chuck Atkins
Browse files

Update embree's usage of ISA and TBB CMake variables

parent 5e384432
......@@ -5,6 +5,7 @@ if(NOT (embree_BUILD_ISA STREQUAL "DEFAULT"))
if(embree_BUILD_ISA STREQUAL "ALL")
set(embree_BUILD_ISA SSE2 SSE42 AVX AVX2 AVX512KNL AVX512SKX)
endif()
list(APPEND embree_isa_args -DEMBREE_MAX_ISA:BOOL=NONE)
foreach(isa IN LISTS embree_BUILD_ISA)
list(APPEND embree_isa_args -DEMBREE_ISA_${isa}:BOOL=ON)
endforeach()
......@@ -14,7 +15,6 @@ superbuild_add_project(embree
DEPENDS ispc tbb cxx11
CMAKE_ARGS
${embree_isa_args}
-DEMBREE_TBB_ROOT:PATH=<INSTALL_DIR>
-DEMBREE_ISPC_EXECUTABLE:PATH=<INSTALL_DIR>/bin/ispc
-DEMBREE_GEOMETRY_HAIR:BOOL=OFF
-DEMBREE_GEOMETRY_LINES:BOOL=OFF
......
Subproject commit 2bd2cf30bef4a9992dd2e03eab5e2ea737a9f836
Subproject commit 837371301f6051fac6c7cb89b767d873c1674563
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment