If SuperLU_MT blas is not found do not build SuperLU_MT
@@ -79,7 +79,9 @@ if(NOT BLAS_ENABLE AND NOT LAPACK_ENABLE)
FIND_LIBRARY(SUPERLUMT_BLAS_LIBRARIES ${SUPERLUMT_BLAS_LIBRARY_NAME} ${SUPERLUMT_LIBRARY_DIR} NO_DEFAULT_PATH)
if (NOT SUPERLUMT_BLAS_LIBRARIES)
- PRINT_WARNING("Can't find SUPERLUMT_BLAS_LIBRARY" "Try setting BLAS_ENABLE or LAPACK_ENABLE to ON")
+ PRINT_WARNING("Can't find SUPERLUMT_BLAS_LIBRARY, support will not be provided."
+ "Try setting BLAS_ENABLE or LAPACK_ENABLE to ON")
+ SET(SUPERLUMT_FOUND FALSE)
else ()
set(SUPERLUMT_LIBRARIES ${SUPERLUMT_LIBRARIES} ${SUPERLUMT_BLAS_LIBRARIES})
endif ()
