aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindMetis.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindMetis.cmake')
-rw-r--r--cmake/FindMetis.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/FindMetis.cmake b/cmake/FindMetis.cmake
index da2f1f1d7..747f88273 100644
--- a/cmake/FindMetis.cmake
+++ b/cmake/FindMetis.cmake
@@ -238,7 +238,7 @@ if(METIS_LIBRARIES)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_FLAGS)
set(CMAKE_REQUIRED_LIBRARIES)
-endif(METIS_LIBRARIES)
+endif()
if (METIS_LIBRARIES)
list(GET METIS_LIBRARIES 0 first_lib)
@@ -258,7 +258,8 @@ mark_as_advanced(METIS_DIR_FOUND)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(METIS DEFAULT_MSG
METIS_LIBRARIES
- METIS_WORKS)
+ METIS_WORKS
+ METIS_INCLUDE_DIRS)
#
# TODO: Add possibility to check for specific functions in the library
#