Skip to content
Snippets Groups Projects
Commit 9addf077 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[CMake][Bugfix] Fix two typos in the metis test

Tried to include CheckSymbolExists instead of CheckFunctionExists.
The wrong include only triggered in a very rare case, where
the module had not been included from elsewhere in the project.

Also, a typo in a library variable.
parent eb897c23
Branches
Tags
No related merge requests found
......@@ -49,9 +49,9 @@ find_library(METIS_LIBRARY ${METIS_LIB_NAME}
# check metis library
if(METIS_LIBRARY)
list(APPEND CMAKE_REQUIRED_LIBRARIES ${METIS_LIBRARIY})
list(APPEND CMAKE_REQUIRED_LIBRARIES ${METIS_LIBRARY})
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${METIS_LIBRARY})
include(CheckSymbolExists)
include(CheckFunctionExists)
check_function_exists(METIS_PartGraphKway HAVE_METIS_PARTGRAPHKWAY)
endif(METIS_LIBRARY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment