Skip to content

Commit 3190cb7

Browse files
committed
Added link threads (client.cpp), fixes cpp-netlib#625
1 parent 89f9768 commit 3190cb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/network/src/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ set_target_properties(cppnetlib-client-connections
4242
PROPERTIES VERSION ${CPPNETLIB_VERSION_STRING}
4343
SOVERSION ${CPPNETLIB_VERSION_MAJOR}
4444
PUBLIC_HEADER "${CPP-NETLIB_HEADERS}")
45+
target_link_libraries(cppnetlib-client-connections ${CMAKE_THREAD_LIBS_INIT})
4546
if (OPENSSL_FOUND)
4647
target_link_libraries(cppnetlib-client-connections ${OPENSSL_LIBRARIES})
4748
endif ()

0 commit comments

Comments
 (0)