diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b165acc..a2cc9eab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -370,6 +370,9 @@ if (USE_OCC) list(PREPEND OCC_LIBRARIES -Wl,--start-group) list(APPEND OCC_LIBRARIES -Wl,--end-group) endif() + if(WIN32) + list(APPEND OCC_LIBRARIES Ws2_32.lib) + endif() endif() message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}") endif (USE_OCC)