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

Make boost static lib an option. (#936)

* Migrate unit tests back to the main repo.

* Minor bug fixes and getting unit test migrated.

* Minor cmake bug for unit tests.

* Make CGAL boost static lib an option.

* Update libigl.cmake

change to ON


Former-commit-id: eb3b18002ea6756ca111c7e4081a1f2f162c79ac
Qingnan Zhou 6 жил өмнө
parent
commit
5977205363
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      cmake/libigl.cmake

+ 1 - 1
cmake/libigl.cmake

@@ -195,7 +195,7 @@ if(LIBIGL_WITH_CGAL)
     if(EXISTS ${LIBIGL_EXTERNAL}/boost)
       set(BOOST_ROOT "${LIBIGL_EXTERNAL}/boost")
     endif()
-    set(CGAL_Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE)
+    option(CGAL_Boost_USE_STATIC_LIBS "Use static Boost libs with CGAL" ON)
     find_package(CGAL CONFIG COMPONENTS Core PATHS ${CGAL_DIR} NO_DEFAULT_PATH)
   endif()