From 2df4444deff15d7e1cb150a201e0ffc9b44d9fd1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 19 Mar 2015 14:48:52 +1100 Subject: CMake: exclude Colamd when OpenNL's disabled --- extern/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extern') diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 110c88f8e4a..3dc790f2932 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -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) -- cgit v1.2.3