FindBLAS: simplify if()

This commit is contained in:
Rolf Eike Beer
2017-12-15 20:09:43 +01:00
parent fcf3264594
commit c095e2ad54

View File

@@ -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