Skip to content

Commit 55fbd1b

Browse files
authored
Merge pull request #705 from anonimal/0.13-release
Build: fix MinGW-w64 various undefined references
2 parents fb8fec3 + ac5fd88 commit 55fbd1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/network/src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ target_link_libraries(cppnetlib-client-connections ${Boost_LIBRARIES} ${CMAKE_TH
4646
if (OPENSSL_FOUND)
4747
target_link_libraries(cppnetlib-client-connections ${OPENSSL_LIBRARIES})
4848
endif ()
49+
if (MINGW)
50+
target_link_libraries(cppnetlib-client-connections ws2_32)
51+
endif ()
52+
4953
install(TARGETS cppnetlib-client-connections
5054
EXPORT cppnetlibTargets
5155
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy