From 218b691e4d00e3a6653e58ae1d20530cc6e10e74 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 13 Mar 2012 11:27:47 +0000 Subject: [PATCH] CMake now manages graph partionners scotch, metis and parmetis. --- salome_adm/cmake_files/am2cmake.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 04094c96c..788d74f92 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -564,7 +564,12 @@ class CMakeFile(object): ENDIF(GUI_ROOT_DIR) """) if self.module == "med": + #METIS must be after PARMETIS to prevent to activate METIS if PARMETIS already exists newlines.append(""" + INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindPARMETIS.cmake) + INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindMETIS.cmake) + INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindSCOTCH.cmake) + INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindSPLITTER.cmake) INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindMEDFILE.cmake) IF(WINDOWS) INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindXDR.cmake) -- 2.39.2