s/STREQUAL/MATCHES/
This commit is contained in:
parent
e57491786e
commit
e9c22a1439
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user