Skip to content
Snippets Groups Projects
Commit 38aa1cb3 authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 1698

Revision  r1698
.----------------------
[FindSuperLU.cmake] Fix handling of failing BLAS check.

.----------------------


[[Imported from SVN: r1840]]
parents 4f941295 6df7ec7e
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