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

[Release,CMake] Use LAPACK_FOUND instead of HAVE_LAPACK.

It's more CMake style.
parent a46de680
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,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})
......@@ -183,7 +183,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