]> https://gitweb.dealii.org/ - dealii.git/commitdiff
clean-up ParMetis from CMake config system 2435/head
authorDenis Davydov <davydden@gmail.com>
Wed, 30 Mar 2016 13:44:07 +0000 (15:44 +0200)
committerDenis Davydov <davydden@gmail.com>
Wed, 30 Mar 2016 13:44:07 +0000 (15:44 +0200)
cmake/modules/FindMETIS.cmake

index e6d4ecc13f1483862d3472a123472ea02dc13bd3..ec6e9a2d6ae73193a8608ab51841b0e5a6df2f35 100644 (file)
@@ -45,21 +45,6 @@ DEAL_II_FIND_LIBRARY(METIS_LIBRARY
     build/${CMAKE_CXX_PLATFORM_ID}-${CMAKE_SYSTEM_PROCESSOR}/libmetis
   )
 
-#
-# Sanity check: Only search the parmetis library in the same directory as
-# the metis library...
-#
-GET_FILENAME_COMPONENT(_path "${METIS_LIBRARY}" PATH)
-DEAL_II_FIND_LIBRARY(PARMETIS_LIBRARY
-  NAMES parmetis
-  HINTS ${_path}
-  NO_DEFAULT_PATH
-  NO_CMAKE_ENVIRONMENT_PATH
-  NO_CMAKE_PATH
-  NO_SYSTEM_ENVIRONMENT_PATH
-  NO_CMAKE_SYSTEM_PATH
-  NO_CMAKE_FIND_ROOT_PATH
-  )
 
 DEAL_II_FIND_PATH(METIS_INCLUDE_DIR metis.h
   HINTS ${METIS_DIR}
@@ -98,12 +83,11 @@ ENDIF()
 
 DEAL_II_PACKAGE_HANDLE(METIS
   LIBRARIES
-    OPTIONAL PARMETIS_LIBRARY
     REQUIRED METIS_LIBRARY
     OPTIONAL MPI_C_LIBRARIES
   INCLUDE_DIRS
     REQUIRED METIS_INCLUDE_DIR
   USER_INCLUDE_DIRS
     REQUIRED METIS_INCLUDE_DIR 
-  CLEAR METIS_LIBRARY PARMETIS_LIBRARY METIS_INCLUDE_DIR
+  CLEAR METIS_LIBRARY METIS_INCLUDE_DIR
   )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.