Salome HOME
Updated copyright comment
[modules/paravis.git] / src / Plugins / MEDWriter / plugin / CMakeLists.txt
index 7577343b85960d8749d736733c9468e6cd5276db..5f3b49f4a4427be7f019250e103a26ff77c69e17 100644 (file)
@@ -1,3 +1,22 @@
+# Copyright (C) 2010-2024  CEA, EDF
+#
+# 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, 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
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
 # Common CMake macros
 # ===================
 set(TMP_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
@@ -23,10 +42,6 @@ set(BUILD_SHARED_LIBS TRUE)
 find_package(SalomeHDF5 REQUIRED)
 find_package(SalomeMEDCoupling REQUIRED)
 
-if(MEDCOUPLING_USE_64BIT_IDS)
-  add_definitions("-DMEDCOUPLING_USE_64BIT_IDS")
-endif(MEDCOUPLING_USE_64BIT_IDS)
-
 SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_BINS}
                                                  ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_PYTHON})
 SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_LIBS})
@@ -44,3 +59,7 @@ install(TARGETS MEDWriterPlugin
   LIBRARY DESTINATION lib/paraview
   ARCHIVE DESTINATION lib/paraview
   )
+
+if (SALOME_BUILD_TESTS OR BUILD_TESTING)
+  add_subdirectory(Test)
+endif()