From b53145596a7c16d1f009f4430485d2378206400b Mon Sep 17 00:00:00 2001 From: insomniac Date: Sat, 19 Mar 2016 19:03:40 +0000 Subject: [PATCH] Pthread links to libdublintraceroute, not to the executable --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f54b6b..fce57bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ endif (${libtins_FOUND}) pkg_search_module(JSONCPP REQUIRED jsoncpp) add_executable(dublin-traceroute src/main.cc) -target_link_libraries (dublin-traceroute ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries (dublintraceroute ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(dublin-traceroute dublintraceroute) target_link_libraries(dublintraceroute tins)