summaryrefslogtreecommitdiff
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-12-15 20:09:43 +0100
committerRolf Eike Beer <eike@sf-mail.de>2017-12-15 21:10:25 +0100
commitc095e2ad540edee8521b891f0eba9ebeb3ce5ac3 (patch)
treed13fcfaa93a8e647d547424557ff5b60bb290f0c /Modules/FindBLAS.cmake
parentfcf32645946ae46219e91b9f6e87e42fb0574f9e (diff)
downloadcmake-c095e2ad540edee8521b891f0eba9ebeb3ce5ac3.tar.gz
FindBLAS: simplify if()
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r--Modules/FindBLAS.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 88dbea3a4b..0e5fa1154b 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -661,8 +661,7 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All")
foreach (IT ${BLAS_SEARCH_LIBS})
string(REPLACE " " ";" SEARCH_LIBS ${IT})
- if (${_LIBRARIES})
- else ()
+ if (NOT ${_LIBRARIES})
check_fortran_libraries(
${_LIBRARIES}
BLAS