Set default options based on toplevel project. (#940)

* Enable options based on toplevel CMake call.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt


Former-commit-id: 86d3564a14
This commit is contained in:
Jérémie Dumas
2018-10-15 12:05:43 -04:00
committed by Alec Jacobson
parent 5977205363
commit d3dd83f11b
4 changed files with 32 additions and 32 deletions
+4 -4
View File
@@ -23,10 +23,10 @@ if(UNIX)
endif()
endif()
## libigl
if(NOT TARGET igl::core)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../cmake")
include(libigl)
## libigl
if(NOT TARGET igl::core)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../cmake")
include(libigl)
endif()
## include pybind