X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2FCMakeLists.txt;h=2cdb1d5a467428adaae35a845c7dcf06ce0e1968;hb=427d6c3316e59aa86bbf4d3e51f522e0aba9c4fd;hp=136b6e22fc34de3b5678371b6c7a1247d820ae85;hpb=d53e2fa8c12cd12e9d34e20ea9331257fb4fd35e;p=simgear.git diff --git a/simgear/io/CMakeLists.txt b/simgear/io/CMakeLists.txt index 136b6e22..2cdb1d5a 100644 --- a/simgear/io/CMakeLists.txt +++ b/simgear/io/CMakeLists.txt @@ -37,11 +37,19 @@ set(SOURCES simgear_component(io io "${SOURCES}" "${HEADERS}") add_executable(test_sock socktest.cxx) -target_link_libraries(test_sock sgio sgstructure sgdebug) +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 - ${RT_LIBRARY}) + ${RT_LIBRARY} + ${OPENTHREADS_LIBRARY}) -add_test(http ${EXECUTABLE_OUTPUT_PATH}/test_http) \ No newline at end of file +add_test(http ${EXECUTABLE_OUTPUT_PATH}/test_http) + +add_executable(httpget httpget.cxx) +target_link_libraries(httpget + sgio sgstructure sgtiming sgmisc sgdebug + ${RT_LIBRARY} + ${OPENTHREADS_LIBRARY}) + \ No newline at end of file