link to winsock2 on windows

This commit is contained in:
Green Sky 2023-12-13 13:29:15 +01:00
parent c989d5059d
commit 8d6f25b2d5
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -35,3 +35,7 @@ target_link_libraries(libircclient PUBLIC
#OpenSSL::Crypto
)
if(WIN32)
target_link_libraries(libircclient PUBLIC ws2_32 iphlpapi)
endif()