We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent550adae commitdd4bd37Copy full SHA for dd4bd37
libs/network/test/http/CMakeLists.txt
@@ -84,7 +84,7 @@ if (Boost_FOUND)
84
add_dependencies(cpp-netlib-http-server_async_run_stop_concurrency
85
cppnetlib-server-parsers)
86
target_link_libraries(cpp-netlib-http-server_async_run_stop_concurrency
87
-${Boost_LIBRARIES} cppnetlib-server-parsers)
+${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}cppnetlib-server-parsers)
88
if (OPENSSL_FOUND)
89
90
${OPENSSL_LIBRARIES})
@@ -95,7 +95,7 @@ if (Boost_FOUND)
95
ws2_32 wsock32)
96
endif()
97
if (${CMAKE_SYSTEM_NAME}MATCHES"Linux")
98
- target_link_libraries(cpp-netlib-http-server_async_run_stop_concurrency rt)
+ target_link_libraries(cpp-netlib-http-server_async_run_stop_concurrencypthreadrt)
99
100
set_target_properties(cpp-netlib-http-server_async_run_stop_concurrency
101
PROPERTIESRUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/tests)