Salome HOME
Avoid installing redundant files
[modules/geom.git] / src / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index da1d493..aa3df20
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -23,8 +23,9 @@
 SET(SUBDIRS_COMMON
   ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM ShHealOper GEOMUtils XAO XAO_Swig 
   GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
-  AdvancedEngine OCC2VTK
-  STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin VTKPlugin Tools
+  AdvancedEngine
+  STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin Tools
+  SalomeSessionless
   )
 
 ##
@@ -36,6 +37,16 @@ IF(SALOME_GEOM_USE_OPENCV)
     )
 ENDIF()
 
+##
+# VTK
+##
+IF(SALOME_GEOM_USE_VTK)
+  SET(SUBDIRS_VTK 
+    OCC2VTK
+    VTKPlugin
+    )
+ENDIF()
+
 ##
 # GUI
 ##
@@ -55,6 +66,7 @@ ENDIF()
 SET(SUBDIRS
   ${SUBDIRS_COMMON}
   ${SUBDIRS_OPENCV}
+  ${SUBDIRS_VTK}
   ${SUBDIRS_CC}
   ${SUBDIRS_GUI}
 )