diff options
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r-- | extern/CMakeLists.txt | 13 |
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() |