From: Thomas Jarosch Date: Fri, 8 Sep 2017 12:21:16 +0000 (+0200) Subject: Explicitly link pthread, needed by new binutils X-Git-Url: http://developer.intra2net.com/git/?p=bpdyndnsd;a=commitdiff_plain;h=69871d8233d365565cf88f2b9d5735cac15ae873 Explicitly link pthread, needed by new binutils --- 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)