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:
Spp
2013-05-21 08:36:52 +02:00
parent 0dc9353746
commit d3c2af0f66
3 changed files with 5 additions and 0 deletions

View File

@@ -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()

View File

@@ -80,6 +80,8 @@ target_link_libraries(authserver
shared
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
${ACE_LIBRARY}
)
if( WIN32 )

View File

@@ -179,6 +179,7 @@ target_link_libraries(worldserver
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${ZLIB_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
if( WIN32 )