Link winsock2 library on windows for htonl

This commit is contained in:
WerWolv 2020-11-19 11:37:50 +01:00
parent 9b04373809
commit 9965322505
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ add_executable(ImHex
)
if (WIN32)
target_link_libraries(ImHex libglfw3.a libgcc.a libstdc++.a libmagic.a libgnurx.a libtre.a libintl.a libiconv.a shlwapi.lib libcrypto.a libwinpthread.a)
target_link_libraries(ImHex libglfw3.a libgcc.a libstdc++.a libmagic.a libgnurx.a libtre.a libintl.a libiconv.a shlwapi.lib ws2_32.lib libcrypto.a libwinpthread.a)
endif (WIN32)
if (UNIX)