diff --git a/modules/cblas.cmake b/modules/cblas.cmake index e2d467b..756614a 100644 --- a/modules/cblas.cmake +++ b/modules/cblas.cmake @@ -22,8 +22,8 @@ if(ENABLE_CBLAS) include(find_include_files) set(CBLAS_FOUND FALSE) - set(CBLAS_LIBRARIES "undefined") - set(CBLAS_INCLUDE_DIR "undefined") + set(CBLAS_LIBRARIES "NOTFOUND") + set(CBLAS_INCLUDE_DIR "NOTFOUND") if(APPLE) _find_library(Accelerate cblas_dgemm CBLAS_LIBRARIES) @@ -33,8 +33,8 @@ if(ENABLE_CBLAS) _find_include_dir(cblas.h /usr CBLAS_INCLUDE_DIR) endif() - if(NOT "${CBLAS_LIBRARIES}" STREQUAL "undefined") - if(NOT "${CBLAS_INCLUDE_DIR}" STREQUAL "undefined") + if(NOT "${CBLAS_LIBRARIES}" STREQUAL "NOTFOUND") + if(NOT "${CBLAS_INCLUDE_DIR}" STREQUAL "NOTFOUND") set(CBLAS_FOUND TRUE) endif() endif() diff --git a/modules/lapacke.cmake b/modules/lapacke.cmake index 38580e8..37be36e 100644 --- a/modules/lapacke.cmake +++ b/modules/lapacke.cmake @@ -22,8 +22,8 @@ if(ENABLE_LAPACKE) include(find_include_files) set(LAPACKE_FOUND FALSE) - set(LAPACKE_LIBRARIES "undefined") - set(LAPACKE_INCLUDE_DIR "undefined") + set(LAPACKE_LIBRARIES "NOTFOUND") + set(LAPACKE_INCLUDE_DIR "NOTFOUND") # if(APPLE) # _find_library(Accelerate cblas_dgemm LAPACKE_LIBRARIES) @@ -33,8 +33,8 @@ if(ENABLE_LAPACKE) _find_include_dir(lapacke.h /usr LAPACKE_INCLUDE_DIR) # endif() - if(NOT "${LAPACKE_LIBRARIES}" STREQUAL "undefined") - if(NOT "${LAPACKE_INCLUDE_DIR}" STREQUAL "undefined") + if(NOT "${LAPACKE_LIBRARIES}" STREQUAL "NOTFOUND") + if(NOT "${LAPACKE_INCLUDE_DIR}" STREQUAL "NOTFOUND") set(LAPACKE_FOUND TRUE) endif() endif()