CMake: exclude Colamd when OpenNL's disabled

This commit is contained in:
Campbell Barton
2015-03-19 14:48:52 +11:00
parent 2a2bf3c1ab
commit 2df4444def

View File

@@ -26,11 +26,14 @@
# Otherwise we get warnings here that we cant fix in external projects
remove_strict_flags()
add_subdirectory(colamd)
add_subdirectory(rangetree)
add_subdirectory(wcwidth)
add_subdirectory(libmv)
if(WITH_OPENNL)
add_subdirectory(colamd)
endif()
if(WITH_BULLET)
if(NOT WITH_SYSTEM_BULLET)
add_subdirectory(bullet2)