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:
1 parent
0dc9353746
commit
d3c2af0f66
3 files changed
+5
No files matched your search
@@ -51,6 +51,8 @@ include(CheckPlatform)
|
|||||||
find_package(PCHSupport)
|
find_package(PCHSupport)
|
||||||
find_package(ACE REQUIRED)
|
find_package(ACE REQUIRED)
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
if( NOT USE_MYSQL_SOURCES )
|
if( NOT USE_MYSQL_SOURCES )
|
||||||
find_package(MySQL REQUIRED)
|
find_package(MySQL REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ target_link_libraries(authserver
|
|||||||
shared
|
shared
|
||||||
${MYSQL_LIBRARY}
|
${MYSQL_LIBRARY}
|
||||||
${OPENSSL_LIBRARIES}
|
${OPENSSL_LIBRARIES}
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
${ACE_LIBRARY}
|
||||||
)
|
)
|
||||||
|
|
||||||
if( WIN32 )
|
if( WIN32 )
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ target_link_libraries(worldserver
|
|||||||
${MYSQL_LIBRARY}
|
${MYSQL_LIBRARY}
|
||||||
${OPENSSL_LIBRARIES}
|
${OPENSSL_LIBRARIES}
|
||||||
${ZLIB_LIBRARIES}
|
${ZLIB_LIBRARIES}
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
)
|
)
|
||||||
|
|
||||||
if( WIN32 )
|
if( WIN32 )
|
||||||
|
|||||||
Reference in new issue
Block a user