]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake now manages graph partionners scotch, metis and parmetis.
authorageay <ageay>
Tue, 13 Mar 2012 11:27:47 +0000 (11:27 +0000)
committerageay <ageay>
Tue, 13 Mar 2012 11:27:47 +0000 (11:27 +0000)
salome_adm/cmake_files/am2cmake.py

index 04094c96c2d50dc4510a28b2050708a1b1f5cbda..788d74f926947b57d7315acb8d5b97a771f13547 100644 (file)
@@ -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)