mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Build/Tools: Fix linker errors (zlib and pthread)
This commit is contained in:
@@ -38,6 +38,7 @@ add_executable(connection_patcher ${HEADER_FILES} ${SRC_FILES})
|
||||
target_link_libraries(connection_patcher
|
||||
shared
|
||||
${OPENSSL_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${Boost_LIBRARIES}
|
||||
)
|
||||
|
||||
|
||||
@@ -25,10 +25,10 @@ add_executable(mapextractor
|
||||
)
|
||||
|
||||
target_link_libraries(mapextractor
|
||||
casc
|
||||
${BZIP2_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${Boost_LIBRARIES}
|
||||
casc
|
||||
)
|
||||
|
||||
add_dependencies(mapextractor casc)
|
||||
|
||||
@@ -28,9 +28,9 @@ include_directories(
|
||||
add_executable(vmap4extractor ${sources})
|
||||
|
||||
target_link_libraries(vmap4extractor
|
||||
casc
|
||||
${BZIP2_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
casc
|
||||
)
|
||||
|
||||
add_dependencies(vmap4extractor casc)
|
||||
|
||||
Reference in New Issue
Block a user