Skip to content

Commit 73afa31

Browse files
committed
Fixed libraries to link, so ld will not fail on Linux with:
'missing DSO' because of missing libpthread.
1 parent dc5cf50 commit 73afa31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/network/test/http/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if (Boost_FOUND)
9595
ws2_32 wsock32)
9696
endif()
9797
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)
9999
endif()
100100
set_target_properties(cpp-netlib-http-server_async_run_stop_concurrency
101101
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/tests)

0 commit comments

Comments
 (0)