From 34970f3a3d67d99b2cfe42da80788b37d3bb2845 Mon Sep 17 00:00:00 2001 From: rnc Date: Mon, 14 Oct 2013 09:16:04 +0000 Subject: [PATCH] IMP: NETGENPLUGIN / CMake build procedure: CAS and VTK can be found on the base of the configuration exposed by GUI if any --- CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b27498..9e2cad0 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,11 +77,6 @@ FIND_PACKAGE(SalomeBoost REQUIRED) # CORBA FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeOmniORBPy REQUIRED) -# OCCT -FIND_PACKAGE(SalomeCAS REQUIRED) -# VTK -FIND_PACKAGE(SalomeVTK 6.0) - # Other KERNEL optionals: IF(SALOME_BUILD_DOC) @@ -111,6 +106,12 @@ IF(SALOME_BUILD_GUI) FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui) ENDIF(SALOME_BUILD_GUI) +# OCCT +FIND_PACKAGE(SalomeCAS REQUIRED) +# VTK +FIND_PACKAGE(SalomeVTK 6.0) + + # Find GEOM # =========== -- 2.39.2