mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Build: Fix compile under Ubuntu 13.04 and openSUSE 12.3 (and probably other new distros)
Closes #9832 Closes #9740
This commit is contained in:
@@ -51,6 +51,8 @@ include(CheckPlatform)
|
||||
find_package(PCHSupport)
|
||||
find_package(ACE REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
if( NOT USE_MYSQL_SOURCES )
|
||||
find_package(MySQL REQUIRED)
|
||||
endif()
|
||||
|
||||
@@ -80,6 +80,8 @@ target_link_libraries(authserver
|
||||
shared
|
||||
${MYSQL_LIBRARY}
|
||||
${OPENSSL_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${ACE_LIBRARY}
|
||||
)
|
||||
|
||||
if( WIN32 )
|
||||
|
||||
@@ -179,6 +179,7 @@ target_link_libraries(worldserver
|
||||
${MYSQL_LIBRARY}
|
||||
${OPENSSL_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
|
||||
if( WIN32 )
|
||||
|
||||
Reference in New Issue
Block a user