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:
committed by
Alec Jacobson
parent
5977205363
commit
d3dd83f11b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user