IMP: NETGENPLUGIN / CMake build procedure: CAS and VTK can be found on the base of the configuration exposed by GUI if any

This commit is contained in:
rnc 2013-10-14 09:16:04 +00:00
parent a6960ceab7
commit 34970f3a3d

View File

@ -77,11 +77,6 @@ FIND_PACKAGE(SalomeBoost REQUIRED)
# CORBA # CORBA
FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeOmniORB REQUIRED)
FIND_PACKAGE(SalomeOmniORBPy REQUIRED) FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
# OCCT
FIND_PACKAGE(SalomeCAS REQUIRED)
# VTK
FIND_PACKAGE(SalomeVTK 6.0)
# Other KERNEL optionals: # Other KERNEL optionals:
IF(SALOME_BUILD_DOC) IF(SALOME_BUILD_DOC)
@ -111,6 +106,12 @@ IF(SALOME_BUILD_GUI)
FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui) FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui)
ENDIF(SALOME_BUILD_GUI) ENDIF(SALOME_BUILD_GUI)
# OCCT
FIND_PACKAGE(SalomeCAS REQUIRED)
# VTK
FIND_PACKAGE(SalomeVTK 6.0)
# Find GEOM # Find GEOM
# =========== # ===========