From 9ddb034e55ddc250e68625697bda5ccf45ab0a17 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 6 Sep 2021 13:01:57 +0200 Subject: [PATCH] link all occ libs --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c01820c..f7712b94 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_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 )