From a0fe68bf17455804958e1544764a19a388c4909a Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 1 Mar 2013 14:26:28 +0000 Subject: [PATCH] barate: the m4 files are correctly installed when MED is compiled using CMake. This alllows further modules to be compiled with the autotools. --- adm_local/CMakeLists.txt | 1 + adm_local/unix/CMakeLists.txt | 20 +++++++++++ adm_local/unix/config_files/CMakeLists.txt | 40 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 adm_local/unix/CMakeLists.txt create mode 100644 adm_local/unix/config_files/CMakeLists.txt diff --git a/adm_local/CMakeLists.txt b/adm_local/CMakeLists.txt index 7d6dfa86e..75d5607e1 100644 --- a/adm_local/CMakeLists.txt +++ b/adm_local/CMakeLists.txt @@ -17,4 +17,5 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +ADD_SUBDIRECTORY(unix) ADD_SUBDIRECTORY(cmake_files) diff --git a/adm_local/unix/CMakeLists.txt b/adm_local/unix/CMakeLists.txt new file mode 100644 index 000000000..fcdb331f1 --- /dev/null +++ b/adm_local/unix/CMakeLists.txt @@ -0,0 +1,20 @@ +# Copyright (C) 2007-2012 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. +# +# 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 +# + +ADD_SUBDIRECTORY(config_files) diff --git a/adm_local/unix/config_files/CMakeLists.txt b/adm_local/unix/config_files/CMakeLists.txt new file mode 100644 index 000000000..20fd7f47e --- /dev/null +++ b/adm_local/unix/config_files/CMakeLists.txt @@ -0,0 +1,40 @@ +# Copyright (C) 2007-2012 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. +# +# 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 +# + +SET(dist_admlocalm4_DATA + ac_check_sizeof_fortran.m4 + check_GUI.m4 + check_Med.m4 + check_Med2.m4 + check_med3.m4 + check_bft.m4 + check_fvm.m4 + check_metis.m4 + check_parmetis.m4 + check_scotch.m4 + med_check_sizeof_medint.m4 + renumber.m4 + splitter.m4 + with_Kernel.m4 +) + +FOREACH(f ${dist_admlocalm4_DATA}) + SET(DEST adm_local/unix/config_files) + INSTALL(FILES ${f} DESTINATION ${DEST}) +ENDFOREACH(f ${dist_admlocalm4_DATA}) -- 2.39.2