link to winsock2 on windows

This commit is contained in:
Green Sky 2023-12-13 13:29:15 +01:00
parent c989d5059d
commit 2cb3006864
No known key found for this signature in database

View File

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