cmake(gapi): fix opencv_world build for winpack

pull/17695/head
Alexander Alekhin 5 years ago
parent 7566921364
commit 48ef6df842
  1. 2
      modules/gapi/CMakeLists.txt

@ -190,7 +190,7 @@ endif()
if(WIN32) if(WIN32)
# Required for htonl/ntohl on Windows # Required for htonl/ntohl on Windows
target_link_libraries(${the_module} PRIVATE wsock32 ws2_32) ocv_target_link_libraries(${the_module} PRIVATE wsock32 ws2_32)
endif() endif()
ocv_add_perf_tests() ocv_add_perf_tests()

Loading…
Cancel
Save