mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fix static OCC linking
This commit is contained in:
parent
50bb59f4fe
commit
891e077b35
@ -394,6 +394,11 @@ if (USE_OCC)
|
||||
TKXSBase
|
||||
TKernel
|
||||
)
|
||||
if(UNIX AND NOT APPLE AND NOT EMSCRIPTEN)
|
||||
list(PREPEND OCC_LIBRARIES -Wl,--start-group)
|
||||
list(APPEND OCC_LIBRARIES -Wl,--end-group)
|
||||
endif()
|
||||
|
||||
target_link_libraries(occ_libs INTERFACE ${OCC_LIBRARIES})
|
||||
include_directories(${OpenCASCADE_INCLUDE_DIR})
|
||||
if(NOT OpenCASCADE_BUILD_SHARED_LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user