mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +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
|
TKSTL
|
||||||
TKTopAlgo
|
TKTopAlgo
|
||||||
TKV3d
|
TKV3d
|
||||||
|
TKVCAF
|
||||||
TKXCAF
|
TKXCAF
|
||||||
TKXDEIGES
|
TKXDEIGES
|
||||||
TKXDESTEP
|
TKXDESTEP
|
||||||
TKXSBase
|
TKXSBase
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(OCC_LINK_FREETYPE)
|
||||||
|
set(OCC_LIBRARY_NAMES ${OCC_LIBRARY_NAMES} freetype)
|
||||||
|
endif(OCC_LINK_FREETYPE)
|
||||||
|
|
||||||
foreach( libname ${OCC_LIBRARY_NAMES} )
|
foreach( libname ${OCC_LIBRARY_NAMES} )
|
||||||
find_library( ${libname} ${libname} ${OCC_LIBRARY_DIR} )
|
find_library( ${libname} ${libname} ${OCC_LIBRARY_DIR} )
|
||||||
set(OCC_LIBRARIES ${OCC_LIBRARIES} ${${libname}})
|
set(OCC_LIBRARIES ${OCC_LIBRARIES} ${${libname}})
|
||||||
|
Loading…
Reference in New Issue
Block a user