|
@@ -5,7 +5,7 @@ option(LIBIGL_USE_STATIC_LIBRARY "Use libigl as static library" OFF)
|
|
|
option(LIBIGL_WITH_ANTTWEAKBAR "Use AntTweakBar" ON)
|
|
|
option(LIBIGL_WITH_CGAL "Use CGAL" ON)
|
|
|
option(LIBIGL_WITH_COMISO "Use CoMiso" ON)
|
|
|
-option(LIBIGL_WITH_CORK "Use Cork" ON)
|
|
|
+option(LIBIGL_WITH_CORK "Use Cork" OFF)
|
|
|
option(LIBIGL_WITH_EMBREE "Use Embree" ON)
|
|
|
option(LIBIGL_WITH_LIM "Use LIM" ON)
|
|
|
option(LIBIGL_WITH_MATLAB "Use Matlab" ON)
|
|
@@ -192,20 +192,17 @@ endif()
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+if(LIBIGL_WITH_CORK)
|
|
|
+ set(CORK_DIR "${LIBIGL_EXTERNAL}/cork")
|
|
|
+ if(NOT TARGET cork)
|
|
|
+
|
|
|
+
|
|
|
+ add_subdirectory("${CORK_DIR}" "lib-cork")
|
|
|
+ endif()
|
|
|
+ compile_igl_module("cork" "copyleft/")
|
|
|
+ target_include_directories(igl_cork ${IGL_SCOPE} cork)
|
|
|
+ target_include_directories(igl_cork ${IGL_SCOPE} "${CORK_DIR}/src")
|
|
|
+endif()
|
|
|
|
|
|
|
|
|
|
|
@@ -252,23 +249,15 @@ endif()
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+if(LIBIGL_WITH_LIM)
|
|
|
+ set(LIM_DIR "${LIBIGL_EXTERNAL}/lim")
|
|
|
+ if(NOT TARGET lim)
|
|
|
+ add_subdirectory("${LIM_DIR}" "lim")
|
|
|
+ endif()
|
|
|
+ compile_igl_module("lim" "")
|
|
|
+ target_link_libraries(igl_lim ${IGL_SCOPE} lim)
|
|
|
+ target_include_directories(igl_lim ${IGL_SCOPE} ${LIM_DIR})
|
|
|
+endif()
|
|
|
|
|
|
|
|
|
|