mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-09 23:07:29 +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(PREPEND OCC_LIBRARIES -Wl,--start-group)
|
||||||
list(APPEND OCC_LIBRARIES -Wl,--end-group)
|
list(APPEND OCC_LIBRARIES -Wl,--end-group)
|
||||||
endif()
|
endif()
|
||||||
|
if(WIN32)
|
||||||
|
list(APPEND OCC_LIBRARIES Ws2_32.lib)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}")
|
message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}")
|
||||||
endif (USE_OCC)
|
endif (USE_OCC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user