summaryrefslogtreecommitdiffstats
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-12-15 19:09:43 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2017-12-15 20:10:25 (GMT)
commitc095e2ad540edee8521b891f0eba9ebeb3ce5ac3 (patch)
treed13fcfaa93a8e647d547424557ff5b60bb290f0c /Modules/FindBLAS.cmake
parentfcf32645946ae46219e91b9f6e87e42fb0574f9e (diff)
downloadCMake-c095e2ad540edee8521b891f0eba9ebeb3ce5ac3.zip
CMake-c095e2ad540edee8521b891f0eba9ebeb3ce5ac3.tar.gz
CMake-c095e2ad540edee8521b891f0eba9ebeb3ce5ac3.tar.bz2
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 88dbea3..0e5fa11 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