Skip to content
Snippets Groups Projects
Commit 441506e1 authored by David E. DeMarle's avatar David E. DeMarle
Browse files

ospray logic needs to be updated for upstream embree change

parent 16a9264c
No related branches found
No related tags found
No related merge requests found
......@@ -35,5 +35,6 @@ superbuild_add_project(ospray
-DCMAKE_INSTALL_LIBDIR:STRING=lib)
superbuild_apply_patch(ospray disable-testing "Really disable testing")
superbuild_apply_patch(ospray fixup-cray-isa "Fixup cray isa")
superbuild_add_extra_cmake_args(
-DOSPRAY_INSTALL_DIR:PATH=<INSTALL_DIR>)
diff --git a/cmake/ospray_macros.cmake b/cmake/ospray_macros.cmake
index 7a6bb84..e21d643 100644
--- a/cmake/ospray_macros.cmake
+++ b/cmake/ospray_macros.cmake
@@ -62,7 +62,8 @@ macro(ospray_find_embree EMBREE_VERSION_REQUIRED)
endmacro()
macro(ospray_determine_embree_isa_support)
- if (EMBREE_MAX_ISA STREQUAL "NONE")
+ if (EMBREE_MAX_ISA STREQUAL "DEFAULT" OR
+ EMBREE_MAX_ISA STREQUAL "NONE")
set(EMBREE_ISA_SUPPORTS_SSE2 ${EMBREE_ISA_SSE2})
set(EMBREE_ISA_SUPPORTS_SSE4 ${EMBREE_ISA_SSE42})
set(EMBREE_ISA_SUPPORTS_AVX ${EMBREE_ISA_AVX})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment