Skip to content
Snippets Groups Projects
Commit 901b5954 authored by Markus Blatt's avatar Markus Blatt
Browse files

[cmake] Activate test for METIS and use it where appropriate.

Just like for the autotools.
parent 5b8a375b
No related branches found
No related tags found
No related merge requests found
find_package(BoostFusion)
find_package(METIS)
include(AddMETISFlags)
find_package(ParMETIS)
include(AddParMETISFlags)
find_package(SuperLU)
......
......@@ -39,6 +39,9 @@
by configure _and_ if the application uses the PARMETIS_CPPFLAGS */
#cmakedefine HAVE_PARMETIS ENABLE_PARMETIS
/* Define if you have METIS library */
#cmakedefine HAVE_METIS 1
/* Define to ENABLE_SUPERLU if the SuperLU library is available */
#cmakedefine HAVE_SUPERLU ENABLE_SUPERLU
......
......@@ -99,5 +99,6 @@ foreach(_exe ${ALLTESTS})
add_test(${_exe} ${_exe})
endforeach(_exe ${ALLTESTS})
add_dune_mpi_flags("${MPITESTS}")
add_dune_parmetis_flags("${PARMETISTESTS}")
add_dune_metis_flags("${PARMETISTESTS}")
add_dune_mpi_flags("${MPITESTS}")
......@@ -114,6 +114,7 @@ if(HAVE_MPI)
add_executable(matrixmarkettest "matrixmarkettest.cc")
add_dune_mpi_flags("${MPITESTS}")
add_dune_parmetis_flags(matrixredisttest)
add_dune_metis_flags(matrixredisttest)
endif(HAVE_MPI)
foreach(_exe ${ALLTESTS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment