Browse Source

add embree back as subdirectory

Former-commit-id: 022eaaa435fd612f8db159fb9ac714c790e7bd4c
Alec Jacobson 9 years ago
parent
commit
757c98926e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tutorial/CMakeLists.txt

+ 6 - 0
tutorial/CMakeLists.txt

@@ -60,6 +60,12 @@ ENDIF(MSVC)
 
 option(ENABLE_TUTORIALS " " OFF)
 
+IF(EMBREE_FOUND)
+  add_subdirectory("../external/embree/" "embree")		
+  include_directories("../external/embree/include")		
+  list(APPEND SHARED_LIBRARIES "embree")		
+ENDIF(EMBREE_FOUND)
+
 # endif(True)
 
 # if(True)