Skip to content
Snippets Groups Projects
Commit 85d2a4d5 authored by Christoph Grüninger's avatar Christoph Grüninger Committed by Carsten Gräser
Browse files

[Release,CMake] Use LAPACK_FOUND instead of HAVE_LAPACK.


It's more CMake style.

(cherry picked from commit 635500eb)
Signed-off-by: default avatarCarsten Gräser <graeser@dune-project.org>
parent e49deb47
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ target_link_libraries("dynmatrixtest" "dunecommon")
add_executable("dynvectortest" dynvectortest.cc)
if(${HAVE_LAPACK})
if(${LAPACK_FOUND})
add_executable(eigenvaluestest eigenvaluestest.cc)
target_link_libraries(eigenvaluestest dunecommon)
target_link_libraries(eigenvaluestest ${LAPACK_LIBRARIES})
......@@ -179,7 +179,7 @@ set_tests_properties(
mpicollectivecommunication
parametertreelocaletest
PROPERTIES SKIP_RETURN_CODE 77)
if(${HAVE_LAPACK})
if(${LAPACK_FOUND})
set_tests_properties(eigenvaluestest
PROPERTIES SKIP_RETURN_CODE 77)
endif()
......
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