mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Link Ws2_32.lib on Windows when building with OCC
This commit is contained in:
parent
b99b107bbc
commit
0da6aeb94f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user