diff --git a/CMakeLists.txt b/CMakeLists.txt index f7712b94..4c01820c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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_LIBRARIES}) + set(OCC_LIBRARIES ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} ${OpenCASCADE_ModelingData_LIBRARIES} ${OpenCASCADE_DataExchange_LIBRARIES}) include_directories(${OpenCASCADE_INCLUDE_DIR}) if(NOT OpenCASCADE_BUILD_SHARED_LIBS) find_library( FREETYPE NAMES freetype )