Fix 'occurred' typo
[bpdyndnsd] / src / CMakeLists.txt
index 38b0178..322372f 100644 (file)
@@ -1,5 +1,5 @@
 # Find Boost
-find_package(Boost COMPONENTS program_options filesystem regex serialization REQUIRED)
+find_package(Boost COMPONENTS program_options filesystem regex serialization system REQUIRED)
 
 # Find CURL
 find_package(CURL)
@@ -31,6 +31,7 @@ set(cpp_sources
         service_dyns.cpp
         service_easydns.cpp
         service_gnudip.cpp
+        service_gnudip_fullhostname.cpp
         serviceholder.cpp
         service_ods.cpp
         service_tzo.cpp
@@ -54,6 +55,7 @@ set(cpp_headers
         service_dyns.hpp
         service_easydns.hpp
         service_gnudip.hpp
+        service_gnudip_fullhostname.hpp
         service.hpp
         serviceholder.hpp
         service_ods.hpp
@@ -68,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)