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:
authorNick Samarin <nicks1987@bigmir.net>2011-05-17 00:30:59 +0400
committerNick Samarin <nicks1987@bigmir.net>2011-05-17 00:30:59 +0400
commita918040902bdeb7c9793168710871e4a3b7777a3 (patch)
tree7380f00bce5448d777d09f4be4d7127e8eecec49 /extern/CMakeLists.txt
parentdaeca2f8262884c436c5678225704b594ce5347b (diff)
parent99ee18c684da65ba774175c0b57a086e8222464a (diff)
synched with trunk at revision 36569
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r--extern/CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt
index 6ce49942795..7a59e41c89b 100644
--- a/extern/CMakeLists.txt
+++ b/extern/CMakeLists.txt
@@ -31,15 +31,20 @@ if(WITH_BULLET)
add_subdirectory(bullet2)
endif()
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+if(WITH_MOD_CLOTH_ELTOPO)
+ add_subdirectory(eltopo)
+endif()
+
+if(WITH_BINRELOC)
add_subdirectory(binreloc)
endif()
-add_subdirectory(glew)
+if(WITH_BUILTIN_GLEW)
+ add_subdirectory(glew)
+endif()
add_subdirectory(recastnavigation)
-
-if(WITH_IMAGE_OPENJPEG)
+if(WITH_IMAGE_OPENJPEG AND (NOT UNIX OR APPLE))
add_subdirectory(libopenjpeg)
endif()