From 69871d8233d365565cf88f2b9d5735cac15ae873 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 8 Sep 2017 14:21:16 +0200 Subject: [PATCH] Explicitly link pthread, needed by new binutils --- src/CMakeLists.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5bbe984..322372f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -70,7 +70,7 @@ set(cpp_headers add_executable(bpdyndnsd ${cpp_sources} ${cpp_headers}) # Dependencies -target_link_libraries(bpdyndnsd ${Boost_LIBRARIES} ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES}) +target_link_libraries(bpdyndnsd ${Boost_LIBRARIES} ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} pthread) # Install install(TARGETS bpdyndnsd DESTINATION bin) -- 1.7.1