mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Build/CMake: Compile the minimum of dependencies possible
mysql if SERVERS, zlib, g3d and recast if SERVERS or TOOLS
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user