s/undefined/NOTFOUND/

This commit is contained in:
Radovan Bast 2015-09-18 09:56:45 +02:00
parent c8cd9ae6f0
commit c7356b499e
2 changed files with 8 additions and 8 deletions

View File

@ -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()

View File

@ -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()