diff options
author | DDuarte <dnpd.dd@gmail.com> | 2014-08-03 18:12:04 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-08-03 18:12:48 +0100 |
commit | 6e9d7486fe84f899fe24bfa3e47d71eae7947110 (patch) | |
tree | 8e6c0e9a8fc80498f72303ac3e77311a64b1dca5 /dep | |
parent | 02a3b3d949e073a78247efa41cfc120a56b9e5fe (diff) |
Build/CMake: Compile the minimum of dependencies possible
mysql if SERVERS, zlib, g3d and recast if SERVERS or TOOLS
Diffstat (limited to 'dep')
-rw-r--r-- | dep/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt index 3b3be7e1551..ae1044969e0 100644 --- a/dep/CMakeLists.txt +++ b/dep/CMakeLists.txt @@ -21,17 +21,21 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux") endif() if(CMAKE_SYSTEM_NAME MATCHES "Windows") - if(USE_MYSQL_SOURCES) + if(USE_MYSQL_SOURCES AND SERVERS) add_subdirectory(mysqllite) endif() if(TOOLS) add_subdirectory(bzip2) endif() - add_subdirectory(zlib) + if(SERVERS OR TOOLS) + add_subdirectory(zlib) + endif() endif() -add_subdirectory(g3dlite) -add_subdirectory(recastnavigation) +if(SERVERS OR TOOLS) + add_subdirectory(g3dlite) + add_subdirectory(recastnavigation) +endif() if(SERVERS) add_subdirectory(gsoap) |