Merge pull request #18408 from rgarnov:rg/fix_standalone_windows_build

pull/18429/head
Alexander Alekhin 4 years ago
commit 118218754b
  1. 5
      modules/gapi/cmake/standalone.cmake

@ -45,3 +45,8 @@ if(MSVC)
endif() endif()
target_link_libraries(${FLUID_TARGET} PRIVATE ade) 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()

Loading…
Cancel
Save