From: ageay Date: Tue, 13 Mar 2012 11:27:47 +0000 (+0000) Subject: CMake now manages graph partionners scotch, metis and parmetis. X-Git-Tag: V6_5_0a1~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=218b691e4d00e3a6653e58ae1d20530cc6e10e74;p=modules%2Fkernel.git CMake now manages graph partionners scotch, metis and parmetis. --- 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)