From a261b71ad0e8fc90f53c1f82019cd93c6564938e Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 9 Oct 2023 11:00:13 +0200 Subject: [PATCH] Link Ws2_32.lib on windows --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 231cb319..af8ec308 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -417,7 +417,7 @@ if (USE_OCC) endif() message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}") 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 (USE_OCC)