mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-13 03:22:40 -04:00
Buildsystem: Don't build gsoap/sockets libraries unless building servers. Fixes issue 4049.
--HG-- branch : trunk
This commit is contained in:
@@ -15,22 +15,29 @@ elseif( MSVC )
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
add_subdirectory(jemalloc)
|
||||
set(JEMALLOC_LIB "jemalloc")
|
||||
if(SERVER)
|
||||
add_subdirectory(jemalloc)
|
||||
set(JEMALLOC_LIB "jemalloc")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
add_subdirectory(acelite)
|
||||
add_subdirectory(zlib)
|
||||
if(SERVER)
|
||||
add_subdirectory(acelite)
|
||||
if(USE_MYSQL_SOURCES)
|
||||
add_subdirectory(mysqllite)
|
||||
endif()
|
||||
endif()
|
||||
add_subdirectory(bzip2)
|
||||
if(USE_MYSQL_SOURCES)
|
||||
add_subdirectory(mysqllite)
|
||||
endif(USE_MYSQL_SOURCES)
|
||||
add_subdirectory(zlib)
|
||||
endif()
|
||||
|
||||
add_subdirectory(g3dlite)
|
||||
add_subdirectory(sockets)
|
||||
add_subdirectory(gsoap)
|
||||
|
||||
if(SERVER)
|
||||
add_subdirectory(sockets)
|
||||
add_subdirectory(gsoap)
|
||||
endif()
|
||||
|
||||
if(TOOLS)
|
||||
add_subdirectory(libmpq)
|
||||
|
||||
Reference in New Issue
Block a user