浏览代码

Build Embree tutorial.

Former-commit-id: de0a0cdd4f933b2dd0baeca06bd6d63c294448d7
Jérémie Dumas 7 年之前
父节点
当前提交
f0ecfd9e57
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tutorial/CMakeLists.txt

+ 1 - 0
tutorial/CMakeLists.txt

@@ -13,6 +13,7 @@ find_package(MOSEK)
 option(LIBIGL_USE_STATIC_LIBRARY "Use LibIGL as static library" ON)
 option(LIBIGL_USE_STATIC_LIBRARY "Use LibIGL as static library" ON)
 option(LIBIGL_WITH_VIEWER      "Use OpenGL viewer"  ON)
 option(LIBIGL_WITH_VIEWER      "Use OpenGL viewer"  ON)
 option(LIBIGL_WITH_NANOGUI     "Use Nanogui menu"   OFF)
 option(LIBIGL_WITH_NANOGUI     "Use Nanogui menu"   OFF)
+option(LIBIGL_WITH_EMBREE      "Use Embree"         ON)
 
 
 ### libIGL options: choose your dependencies (by default everything is OFF, in this example we need the viewer)
 ### libIGL options: choose your dependencies (by default everything is OFF, in this example we need the viewer)
 option(LIBIGL_WITH_CGAL             "Use CGAL"           "${CGAL_FOUND}")
 option(LIBIGL_WITH_CGAL             "Use CGAL"           "${CGAL_FOUND}")