Commit 7183a632 authored by Bill Hoffman's avatar Bill Hoffman

ENH: get out of module if no fortran

parent e1a2c086
......@@ -21,7 +21,8 @@ if(NOT _LANGUAGES_ MATCHES Fortran)
if(BLAS_FIND_REQUIRED)
message(FATAL_ERROR "FindBLAS is Fortran-only so Fortran must be enabled.")
else(BLAS_FIND_REQUIRED)
MESSAGE(STATUS "Looking for BLAS... - NOT found (Fortran not enabled)")
message(STATUS "Looking for BLAS... - NOT found (Fortran not enabled)") #
return()
endif(BLAS_FIND_REQUIRED)
endif(NOT _LANGUAGES_ MATCHES Fortran)
......
......@@ -24,7 +24,8 @@ if(NOT _LANGUAGES_ MATCHES Fortran)
message(FATAL_ERROR
"FindLAPACK is Fortran-only so Fortran must be enabled.")
else(LAPACK_FIND_REQUIRED)
MESSAGE(STATUS "Looking for LAPACK... - NOT found (Fortran not enabled)")
message(STATUS "Looking for LAPACK... - NOT found (Fortran not enabled)")
return()
endif(LAPACK_FIND_REQUIRED)
endif(NOT _LANGUAGES_ MATCHES Fortran)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment