Merge pull request #18408 from rgarnov:rg/fix_standalone_windows_build

This commit is contained in:
Alexander Alekhin 2020-09-25 15:28:51 +00:00
commit 118218754b

View File

@ -45,3 +45,8 @@ if(MSVC)
endif()
target_link_libraries(${FLUID_TARGET} PRIVATE ade)
if(WIN32)
# Required for htonl/ntohl on Windows
target_link_libraries(${FLUID_TARGET} PRIVATE wsock32 ws2_32)
endif()