]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Fix up some remaining link interfaces
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 11 Jul 2013 16:22:58 +0000 (16:22 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 11 Jul 2013 16:22:58 +0000 (16:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@29972 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/modules/FindMETIS.cmake
deal.II/cmake/modules/FindUMFPACK.cmake

index b0a92789ee3618228b5046314b34dc69b293c3a6..8829c8b06be23304af68eeb441ad3f229a3e7a6a 100644 (file)
@@ -53,7 +53,10 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(METIS DEFAULT_MSG
   )
 
 IF(METIS_FOUND)
-  SET(METIS_LIBRARIES ${METIS_LIBRARY})
+  SET(METIS_LIBRARIES
+    ${METIS_LIBRARY}
+    ${MPI_CXX_LIBRARIES} # for good measure
+    )
   SET(METIS_INCLUDE_DIRS ${METIS_INCLUDE_DIR})
 
   #
index 029e8708db09da0da2307f0f645768d1193d0706..85ea382b74c31df3651811fe24b1da4f3400dfe9 100644 (file)
@@ -103,9 +103,10 @@ FIND_UMFPACK_LIBRARY(UMFPACK umfpack REQUIRED)
 FIND_UMFPACK_LIBRARY(AMD amd REQUIRED)
 FIND_UMFPACK_LIBRARY(CHOLMOD cholmod)
 FIND_UMFPACK_LIBRARY(COLAMD colamd)
+FIND_UMFPACK_LIBRARY(CAMD camd)
 FIND_UMFPACK_LIBRARY(SuiteSparse_config suitesparseconfig)
 
-SET(_output ${UMFPACK_LIBRARY} ${CHOLMOD_LIBRARY} ${COLAMD_LIBRARY} ${AMD_LIBRARY} ${SuiteSparse_config_LIBRARY})
+SET(_output ${UMFPACK_LIBRARY} ${CHOLMOD_LIBRARY} ${COLAMD_LIBRARY} ${CAMD_LIBRARY} ${AMD_LIBRARY} ${SuiteSparse_config_LIBRARY})
 FIND_PACKAGE_HANDLE_STANDARD_ARGS(UMFPACK DEFAULT_MSG
   _output # Cosmetic: Gives nice output
   UMFPACK_LIBRARY
@@ -122,8 +123,10 @@ IF(UMFPACK_FOUND)
     ${UMFPACK_LIBRARY}
     ${CHOLMOD_LIBRARY}
     ${COLAMD_LIBRARY}
+    ${CAMD_LIBRARY}
     ${AMD_LIBRARY}
     ${SuiteSparse_config_LIBRARY}
+    ${METIS_LIBRARIES} # for good measure
     ${LAPACK_LIBRARIES}
     )
 
@@ -149,18 +152,19 @@ IF(UMFPACK_FOUND)
     )
 
   MARK_AS_ADVANCED(
+    AMD_INCLUDE_DIR
+    AMD_LIBRARY
     atlas_LIBRARY
     blas_LIBRARY
-    UMFPACK_LIBRARY
-    AMD_LIBRARY
+    CAMD_LIBRARY
     CHOLMOD_LIBRARY
     COLAMD_LIBRARY
-    SuiteSparse_config_LIBRARY
-    UMFPACK_INCLUDE_DIR
-    AMD_INCLUDE_DIR
     SuiteSparse_config_INCLUDE_DIR
-    UMFPACK_DIR
+    SuiteSparse_config_LIBRARY
     SUITESPARSE_DIR
+    UMFPACK_DIR
+    UMFPACK_INCLUDE_DIR
+    UMFPACK_LIBRARY
   )
 ELSE()
   SET(UMFPACK_DIR "" CACHE PATH

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.