Link Ws2_32.lib on windows

This commit is contained in:
Matthias Hochsteger 2023-10-09 11:00:13 +02:00
parent e2aa646b0e
commit a261b71ad0

View File

@ -417,7 +417,7 @@ if (USE_OCC)
endif() endif()
message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}") message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}")
if(WIN32 AND USE_GUI) if(WIN32 AND USE_GUI)
target_link_libraries(nggui PRIVATE occ_libs) target_link_libraries(nggui PRIVATE occ_libs Ws2_32.lib)
endif(WIN32 AND USE_GUI) endif(WIN32 AND USE_GUI)
endif (USE_OCC) endif (USE_OCC)