mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Option to link static build of OpenCascade 7.4.0
For static builds, freetype must be linked explicitly
This commit is contained in:
parent
93874d6296
commit
396d7cdcd2
@ -74,12 +74,17 @@ set(OCC_LIBRARY_NAMES
|
||||
TKSTL
|
||||
TKTopAlgo
|
||||
TKV3d
|
||||
TKVCAF
|
||||
TKXCAF
|
||||
TKXDEIGES
|
||||
TKXDESTEP
|
||||
TKXSBase
|
||||
)
|
||||
|
||||
if(OCC_LINK_FREETYPE)
|
||||
set(OCC_LIBRARY_NAMES ${OCC_LIBRARY_NAMES} freetype)
|
||||
endif(OCC_LINK_FREETYPE)
|
||||
|
||||
foreach( libname ${OCC_LIBRARY_NAMES} )
|
||||
find_library( ${libname} ${libname} ${OCC_LIBRARY_DIR} )
|
||||
set(OCC_LIBRARIES ${OCC_LIBRARIES} ${${libname}})
|
||||
|
Loading…
Reference in New Issue
Block a user