Fixes status message when PETSc couldn't be found.

This commit is contained in:
Jørgen Kvalsvk 2014-09-16 11:37:06 +00:00
parent 4cb4b09a32
commit 18b6b4c566

View File

@ -96,7 +96,7 @@ if (NOT PETSC_LIBRARY)
) )
endif() endif()
if(NOT PETSC_LIBRARY) if(NOT PETSC_LIBRARY)
message(STATUS "Directory with the SuperLU library not found") message(STATUS "Could not find the PETSc library")
return() return()
endif() endif()
list(APPEND CMAKE_REQUIRED_LIBRARIES "${PETSC_LIBRARY}") list(APPEND CMAKE_REQUIRED_LIBRARIES "${PETSC_LIBRARY}")