浏览代码

forced embree static build

Former-commit-id: 8305139b3346d6c641067e86f41bc40a15ae97d8
Daniele Panozzo 9 年之前
父节点
当前提交
5667cf4102
共有 1 个文件被更改,包括 5 次插入5 次删除
  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")
 list(APPEND SHARED_LIBRARIES "nanogui" "glfw")
 
 
 #Compile embree
 #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")
 add_subdirectory("../external/embree/" "embree")
 include_directories("../external/embree/include")
 include_directories("../external/embree/include")