-# Copyright (C) 2012-2014 EDF R&D
+# Copyright (C) 2012-2020 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
ADD_SUBDIRECTORY(t_shape)
-# scripts / static
-SET(plugin_SCRIPTS
- geom_plugins.py
-)
-# --- rules ---
+IF(SALOME_BUILD_GUI)
+ # scripts / static
+ SET(plugin_SCRIPTS
+ geom_plugins.py
+ )
-SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_GEOM_INSTALL_PLUGINS})
+ # --- rules ---
+ SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_GEOM_INSTALL_PLUGINS})
+ENDIF()