Browse Source

Merge pull request #1317 from BruegelN/fix-install-exclude-embree

Prevent the export of Embree into the directiory specified by 'CMAKE_…
Jérémie Dumas 6 years ago
parent
commit
bd8fc309e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/libigl.cmake

+ 1 - 1
cmake/libigl.cmake

@@ -302,7 +302,7 @@ if(LIBIGL_WITH_EMBREE)
     # TODO: Should probably save/restore the CMAKE_CXX_FLAGS_*, since embree seems to be
     # overriding them on Windows. But well... it works for now.
     igl_download_embree()
-    add_subdirectory("${EMBREE_DIR}" "embree")
+    add_subdirectory("${EMBREE_DIR}" "embree" EXCLUDE_FROM_ALL)
   endif()
 
   compile_igl_module("embree")