File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ if (Boost_FOUND)
84
84
add_dependencies (cpp-netlib-http-server_async_run_stop_concurrency
85
85
cppnetlib-server-parsers )
86
86
target_link_libraries (cpp-netlib-http-server_async_run_stop_concurrency
87
- ${Boost_LIBRARIES} cppnetlib-server-parsers )
87
+ ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} cppnetlib-server-parsers )
88
88
if (OPENSSL_FOUND )
89
89
target_link_libraries (cpp-netlib-http-server_async_run_stop_concurrency
90
90
${OPENSSL_LIBRARIES} )
@@ -95,7 +95,7 @@ if (Boost_FOUND)
95
95
ws2_32 wsock32 )
96
96
endif ()
97
97
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
98
- target_link_libraries (cpp-netlib-http-server_async_run_stop_concurrency rt )
98
+ target_link_libraries (cpp-netlib-http-server_async_run_stop_concurrency pthread rt )
99
99
endif ()
100
100
set_target_properties (cpp-netlib-http-server_async_run_stop_concurrency
101
101
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/tests )
You can’t perform that action at this time.
0 commit comments