X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2FCMakeLists.txt;h=2cdb1d5a467428adaae35a845c7dcf06ce0e1968;hb=427d6c3316e59aa86bbf4d3e51f522e0aba9c4fd;hp=1f2ee11dbf94add81e05fc41a14e7f6c8fbe98eb;hpb=878b504f8e044bc0e59903caa8641492421b76d8;p=simgear.git diff --git a/simgear/io/CMakeLists.txt b/simgear/io/CMakeLists.txt index 1f2ee11d..2cdb1d5a 100644 --- a/simgear/io/CMakeLists.txt +++ b/simgear/io/CMakeLists.txt @@ -32,24 +32,24 @@ set(SOURCES sg_socket_udp.cxx HTTPClient.cxx HTTPRequest.cxx - HostLookup.cxx - HostLookup.hxx ) simgear_component(io io "${SOURCES}" "${HEADERS}") add_executable(test_sock socktest.cxx) -target_link_libraries(test_sock sgio sgstructure sgdebug sgthreads) +target_link_libraries(test_sock sgio sgstructure sgdebug ${OPENTHREADS_LIBRARY}) add_executable(test_http test_HTTP.cxx) target_link_libraries(test_http - sgio sgstructure sgtiming sgmisc sgdebug sgthreads - ${RT_LIBRARY}) + sgio sgstructure sgtiming sgmisc sgdebug + ${RT_LIBRARY} + ${OPENTHREADS_LIBRARY}) add_test(http ${EXECUTABLE_OUTPUT_PATH}/test_http) add_executable(httpget httpget.cxx) target_link_libraries(httpget - sgio sgstructure sgtiming sgmisc sgdebug sgthreads - ${RT_LIBRARY}) + sgio sgstructure sgtiming sgmisc sgdebug + ${RT_LIBRARY} + ${OPENTHREADS_LIBRARY}) \ No newline at end of file