From 9c3a57264614d3254644c875138f9f04f3104fdf Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 29 Sep 2014 16:59:09 +0200 Subject: [PATCH] link unlocking tool against Threads --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a247ec997..7b7fc7402 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,7 +290,7 @@ if(WITH_TOOLS OR BUILD_TOOLS) add_executable(osrm-io-benchmark Tools/io-benchmark.cpp $) target_link_libraries(osrm-io-benchmark ${Boost_LIBRARIES}) add_executable(osrm-unlock-all Tools/unlock_all_mutexes.cpp $) - target_link_libraries(osrm-unlock-all ${Boost_LIBRARIES}) + target_link_libraries(osrm-unlock-all ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) if(UNIX AND NOT APPLE) target_link_libraries(osrm-unlock-all rt) endif()