Build/Tools: Fix linker errors (zlib and pthread)

This commit is contained in:
DDuarte
2014-11-01 09:51:08 +00:00
parent f4a318b109
commit 521ff3dffe
3 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -25,10 +25,10 @@ add_executable(mapextractor
)
target_link_libraries(mapextractor
casc
${BZIP2_LIBRARIES}
${ZLIB_LIBRARIES}
${Boost_LIBRARIES}
casc
)
add_dependencies(mapextractor casc)

View File

@@ -28,9 +28,9 @@ include_directories(
add_executable(vmap4extractor ${sources})
target_link_libraries(vmap4extractor
casc
${BZIP2_LIBRARIES}
${ZLIB_LIBRARIES}
casc
)
add_dependencies(vmap4extractor casc)