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

[FindSuperLU.cmake] Fix handling of failing BLAS check.

[[Imported from SVN: r1698]]
parent b1031883
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,10 @@
# SUPERLU_LIBRARIES Name to the SuperLU library.
#
find_package(BLAS QUIET REQUIRED)
if(NOT BLAS_FOUND AND REQUIRED)
message("BLAS not found but required for SuperLU")
if(NOT BLAS_FOUND)
message("SuperLU requires BLAS which was not found, skipping the test.")
return()
endif(NOT BLAS_FOUND AND REQUIRED)
endif(NOT BLAS_FOUND)
# look for header files, only at positions given by the user
find_path(SUPERLU_INCLUDE_DIR
......
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