Commit 1606ed1f authored by Markus Blatt's avatar Markus Blatt

Readd PARMETIS_LIBRARY to CMAKE_REQUIRED_LIBRARIES.

This should make the test work again for the original ParMETIS.
parent dafec6cd
......@@ -97,7 +97,7 @@ if(PARMETIS_FOUND)
set(_CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES}") # do a backup
# check ParMETIS library
if(PARMETIS_LIBRARY)
set(_PARMETIS_LIBRARY ${METIS_LIBRARIES} ${MPI_DUNE_LIBRARIES})
set(_PARMETIS_LIBRARIES ${PARMETIS_LIBRARY} ${METIS_LIBRARIES} ${MPI_DUNE_LIBRARIES})
set(CMAKE_REQUIRED_LIBRARIES ${_PARMETIS_LIBRARIES} ${_CMAKE_REQUIRED_LIBRARIES})
include(CheckFunctionExists)
check_function_exists(parmetis_v3_partkway HAVE_PARMETIS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment