mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
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:
parent
959c2db5b3
commit
17497fdd95
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user