Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-03-19 06:48:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-03-19 06:48:52 +0300
commit2df4444deff15d7e1cb150a201e0ffc9b44d9fd1 (patch)
tree1c8d6f06be5213f57d79096493c2188ff4bd52ee /extern/CMakeLists.txt
parent2a2bf3c1ab1f9f844a66d1f5f69232d64e16d678 (diff)
CMake: exclude Colamd when OpenNL's disabled
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r--extern/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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)