2
0
Эх сурвалжийг харах

Prevent the export of Embree into the directiory specified by 'CMAKE_INSTALL_PREFIX' when calling 'make install'. Tested and verified on both macOS and Ubuntu.

BruegelN 6 жил өмнө
parent
commit
e8969c21a6
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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")