From 54193000546c4e44d24b574c3e9b61c86a707f68 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 13 Mar 2012 12:15:27 +0000 Subject: [PATCH] Autotools forever. --- src/MEDPartitioner/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/MEDPartitioner/Makefile.am b/src/MEDPartitioner/Makefile.am index 7818a908f..2198762f9 100644 --- a/src/MEDPartitioner/Makefile.am +++ b/src/MEDPartitioner/Makefile.am @@ -75,17 +75,20 @@ if MPI_IS_OK MEDPARTITIONER_ParallelTopology.cxx \ MEDPARTITIONER_ParaDomainSelector.cxx - if MED_ENABLE_PARMETIS +if MED_ENABLE_PARMETIS dist_libmedpartitioner_la_SOURCES += MEDPARTITIONER_MetisGraph.cxx libmedpartitioner_la_CPPFLAGS += $(PARMETIS_CPPFLAGS) libmedpartitioner_la_LDFLAGS += $(PARMETIS_LIBS) - endif +endif + else !MPI_IS_OK - if MED_ENABLE_METIS + +if MED_ENABLE_METIS dist_libmedpartitioner_la_SOURCES += MEDPARTITIONER_MetisGraph.cxx libmedpartitioner_la_CPPFLAGS += $(METIS_CPPFLAGS) libmedpartitioner_la_LDFLAGS += $(METIS_LIBS) - endif +endif + endif if MED_ENABLE_SCOTCH -- 2.39.2