Browse Source

forced embree static build

Former-commit-id: 8305139b3346d6c641067e86f41bc40a15ae97d8
Daniele Panozzo 9 years ago
parent
commit
5667cf4102
1 changed files with 5 additions and 5 deletions
  1. 5 5
      tutorial/CMakeLists.txt

+ 5 - 5
tutorial/CMakeLists.txt

@@ -48,11 +48,11 @@ include_directories("../external/nanogui/ext/nanovg/src")
 list(APPEND SHARED_LIBRARIES "nanogui" "glfw")
 
 #Compile embree
-option(ENABLE_ISPC_SUPPORT OFF)
-option(RTCORE_TASKING_SYSTEM INTERNAL)
-option(ENABLE_STATIC_LIB ON)
-option(ENABLE_TUTORIALS OFF)
-option(XEON_ISA SSE2)
+option(ENABLE_ISPC_SUPPORT " " OFF)
+option(RTCORE_TASKING_SYSTEM " " INTERNAL)
+option(ENABLE_STATIC_LIB " " ON)
+set(ENABLE_STATIC_LIB ON CACHE BOOL "force static build of embree" FORCE)
+option(ENABLE_TUTORIALS " " OFF)
 
 add_subdirectory("../external/embree/" "embree")
 include_directories("../external/embree/include")