We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb8fec3 commit ac5fd88Copy full SHA for ac5fd88
libs/network/src/CMakeLists.txt
@@ -46,6 +46,10 @@ target_link_libraries(cppnetlib-client-connections ${Boost_LIBRARIES} ${CMAKE_TH
46
if (OPENSSL_FOUND)
47
target_link_libraries(cppnetlib-client-connections ${OPENSSL_LIBRARIES})
48
endif ()
49
+if (MINGW)
50
+ target_link_libraries(cppnetlib-client-connections ws2_32)
51
+endif ()
52
+
53
install(TARGETS cppnetlib-client-connections
54
EXPORT cppnetlibTargets
55
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}
0 commit comments