CMake: exclude Colamd when OpenNL's disabled
This commit is contained in:
5
extern/CMakeLists.txt
vendored
5
extern/CMakeLists.txt
vendored
@@ -26,11 +26,14 @@
|
|||||||
# Otherwise we get warnings here that we cant fix in external projects
|
# Otherwise we get warnings here that we cant fix in external projects
|
||||||
remove_strict_flags()
|
remove_strict_flags()
|
||||||
|
|
||||||
add_subdirectory(colamd)
|
|
||||||
add_subdirectory(rangetree)
|
add_subdirectory(rangetree)
|
||||||
add_subdirectory(wcwidth)
|
add_subdirectory(wcwidth)
|
||||||
add_subdirectory(libmv)
|
add_subdirectory(libmv)
|
||||||
|
|
||||||
|
if(WITH_OPENNL)
|
||||||
|
add_subdirectory(colamd)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WITH_BULLET)
|
if(WITH_BULLET)
|
||||||
if(NOT WITH_SYSTEM_BULLET)
|
if(NOT WITH_SYSTEM_BULLET)
|
||||||
add_subdirectory(bullet2)
|
add_subdirectory(bullet2)
|
||||||
|
Reference in New Issue
Block a user