Skip to content

Commit

Permalink
Build/CMake: Compile the minimum of dependencies possible
Browse files Browse the repository at this point in the history
mysql if SERVERS, zlib, g3d and recast if SERVERS or TOOLS
  • Loading branch information
DDuarte committed Aug 3, 2014
1 parent 02a3b3d commit 6e9d748
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions dep/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 6e9d748

Please sign in to comment.