Skip to content
Snippets Groups Projects
Commit d85085a0 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cmake] Call FindMETIS from FindParMETIS

Thanks to Simon Praetorius for providing the patch idea.
parent dc2dc152
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,6 @@
#
# Module that checks whether ParMETIS is available.
#
# It is required to find METIS first by successfully running `FindMETIS.cmake`.
#
# You may set the following variables to configure this modules behavior:
#
# :ref:`PARMETIS_ROOT`
......@@ -43,6 +41,8 @@
# library, that should be used by :ref:`FindParMETIS`.
#
# find METIS first
find_package(METIS QUIET)
if(NOT METIS_FOUND)
find_package_handle_standard_args(
"ParMETIS"
......
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