s/STREQUAL/MATCHES/

This commit is contained in:
Radovan Bast 2015-09-18 10:21:51 +02:00
parent e57491786e
commit e9c22a1439
2 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@ if(ENABLE_CBLAS)
_find_include_dir(cblas.h /usr CBLAS_INCLUDE_DIR)
endif()
if(NOT "${CBLAS_LIBRARIES}" STREQUAL "NOTFOUND")
if(NOT "${CBLAS_INCLUDE_DIR}" STREQUAL "NOTFOUND")
if(NOT "${CBLAS_LIBRARIES}" MATCHES "NOTFOUND")
if(NOT "${CBLAS_INCLUDE_DIR}" MATCHES "NOTFOUND")
set(CBLAS_FOUND TRUE)
endif()
endif()

View File

@ -33,8 +33,8 @@ if(ENABLE_LAPACKE)
_find_include_dir(lapacke.h /usr LAPACKE_INCLUDE_DIR)
# endif()
if(NOT "${LAPACKE_LIBRARIES}" STREQUAL "NOTFOUND")
if(NOT "${LAPACKE_INCLUDE_DIR}" STREQUAL "NOTFOUND")
if(NOT "${LAPACKE_LIBRARIES}" MATCHES "NOTFOUND")
if(NOT "${LAPACKE_INCLUDE_DIR}" MATCHES "NOTFOUND")
set(LAPACKE_FOUND TRUE)
endif()
endif()