BUG: GEOM/CMake build procedure: VTK and OCCT are Geom specifics. They are not used by KERNEL. Putting them before GUI detection broke the detection from GUI configuration when GEOM is built with GUI.

This commit is contained in:
rnc 2013-10-11 13:08:43 +00:00
parent 959c2db5b3
commit 17497fdd95

View File

@ -87,8 +87,6 @@ FIND_PACKAGE(SalomeOmniORB REQUIRED)
FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
FIND_PACKAGE(SalomeLibXml2 REQUIRED)
FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C)
FIND_PACKAGE(SalomeCAS REQUIRED)
FIND_PACKAGE(SalomeVTK 6.0 REQUIRED)
# Other KERNEL optionals:
IF(SALOME_USE_MPI)
@ -123,6 +121,7 @@ ENDIF(SALOME_BUILD_GUI)
##
## Prerequisites From GUI:
##
IF(SALOME_BUILD_GUI)
# Qt4
@ -139,6 +138,9 @@ ENDIF(SALOME_BUILD_GUI)
## GEOM specifics
##
FIND_PACKAGE(SalomeCAS REQUIRED)
FIND_PACKAGE(SalomeVTK 6.0 REQUIRED)
IF(SALOME_BUILD_GUI)
# OpenCV