]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
BUG: GEOM/CMake build procedure: VTK and OCCT are Geom specifics. They are not used...
authorrnc <rnc@opencascade.com>
Fri, 11 Oct 2013 13:08:43 +0000 (13:08 +0000)
committerrnc <rnc@opencascade.com>
Fri, 11 Oct 2013 13:08:43 +0000 (13:08 +0000)
CMakeLists.txt

index 88e54272f613177a1e672a61b918da3de6859420..20952ade82898d781172c6881f84bab004fe266c 100755 (executable)
@@ -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