link to winsock2 on windows

This commit is contained in:
2023-12-13 13:29:15 +01:00
parent c989d5059d
commit 8d6f25b2d5

View File

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