link all occ libs

This commit is contained in:
Matthias Hochsteger 2021-09-06 13:01:57 +02:00 committed by mhochsteger@cerbsim.com
parent e05dc43f35
commit 9ddb034e55

View File

@ -316,7 +316,7 @@ install(TARGETS netgen_mpi netgen_metis ${NG_INSTALL_DIR})
if (USE_OCC)
find_package(OpenCasCade NAMES OpenCASCADE opencascade REQUIRED)
add_definitions(-DOCCGEOMETRY)
set(OCC_LIBRARIES ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} ${OpenCASCADE_ModelingData_LIBRARIES} ${OpenCASCADE_DataExchange_LIBRARIES})
set(OCC_LIBRARIES ${OpenCASCADE_LIBRARIES})
include_directories(${OpenCASCADE_INCLUDE_DIR})
if(NOT OpenCASCADE_BUILD_SHARED_LIBS)
find_library( FREETYPE NAMES freetype )