summaryrefslogtreecommitdiff
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-11 18:36:08 +0200
committerRolf Eike Beer <eike@sf-mail.de>2014-04-14 18:17:23 +0200
commit7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1 (patch)
tree16947f9574c69cfa8bdd18decad649ff41adc69f /Modules/FindBLAS.cmake
parent3a71d34cf3a10ee215ae3899acafd29551ba6e7e (diff)
downloadcmake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.tar.gz
Replace MATCHES ".+" tests with NOT STREQUAL ""
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r--Modules/FindBLAS.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 7a5c259473..6a583d9571 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -150,7 +150,7 @@ endmacro()
set(BLAS_LINKER_FLAGS)
set(BLAS_LIBRARIES)
set(BLAS95_LIBRARIES)
-if ($ENV{BLA_VENDOR} MATCHES ".+")
+if (NOT $ENV{BLA_VENDOR} STREQUAL "")
set(BLA_VENDOR $ENV{BLA_VENDOR})
else ()
if(NOT BLA_VENDOR)