From c095e2ad540edee8521b891f0eba9ebeb3ce5ac3 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Fri, 15 Dec 2017 20:09:43 +0100 Subject: FindBLAS: simplify if() --- Modules/FindBLAS.cmake | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v0.12