Salome HOME
Issue #633: It can be compiled pure SALOME module or pure Open Parts standalone appli...
[modules/shaper.git] / CMakeLists.txt
index c61e60c75a911f86d97cbbfac5fc25f573b4ec58..272c1b15920e15444343434b49502887adf480b8 100644 (file)
@@ -58,9 +58,13 @@ ADD_SUBDIRECTORY (src/SketchPlugin)
 ADD_SUBDIRECTORY (src/SketchSolver)
 ADD_SUBDIRECTORY (src/ModuleBase)
 ADD_SUBDIRECTORY (src/PartSet)
-ADD_SUBDIRECTORY (src/AppElements)
+
+IF(NOT ${HAVE_SALOME})
+    ADD_SUBDIRECTORY (src/AppElements)
+    ADD_SUBDIRECTORY (src/GeomApp)
+ENDIF(NOT ${HAVE_SALOME})
+
 ADD_SUBDIRECTORY (src/XGUI)
-ADD_SUBDIRECTORY (src/GeomApp)
 ADD_SUBDIRECTORY (src/ExchangePlugin)
 ADD_SUBDIRECTORY (src/GeomValidators)
 ADD_SUBDIRECTORY (src/InitializationPlugin)