Salome HOME
Update copyrights 2014.
[modules/med.git] / src / MEDOP / res / CMakeLists.txt
index fd4ff0353890217c95cd83c47e8d24ed61484843..7f21bc1e8ec7d09c6728eb367cd435f670845fba 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2014  CEA/DEN, 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
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -19,7 +19,7 @@
 
 ADD_SUBDIRECTORY(testfiles)
 
-IF(MED_ENABLE_GUI)
+IF(SALOME_BUILD_GUI)
   SET(MED_RESOURCES_FILES
     datasource_add.png
     datasource_changeUnderlyingMesh.png
@@ -37,5 +37,5 @@ IF(MED_ENABLE_GUI)
     workspace_clean.png
     workspace_save.png
     )
-  INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${MED_salomeres_DATA})
-ENDIF(MED_ENABLE_GUI)
+  INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${SALOME_MED_INSTALL_RES_DATA})
+ENDIF(SALOME_BUILD_GUI)