Commit ebae7bbf authored by PRUVOST Florent's avatar PRUVOST Florent

FindBLAS: fix a misused if

parent 50206938
......@@ -969,7 +969,7 @@ endif ()
# BLAS in IBM ESSL library (requires generic BLAS lib, too)
if (BLA_VENDOR STREQUAL "IBMESSL" OR BLA_VENDOR STREQUAL "All")
if(NOT BLAS_LIBRARIES OR BLA_VENDOR STREQUAL "IBMESSL")
if(NOT BLAS_LIBRARIES)
check_fortran_libraries(
BLAS_LIBRARIES
BLAS
......@@ -992,7 +992,7 @@ endif ()
# BLAS in IBM ESSL_MT library (requires generic BLAS lib, too)
if (BLA_VENDOR STREQUAL "IBMESSLMT" OR BLA_VENDOR STREQUAL "All")
if(NOT BLAS_LIBRARIES OR BLA_VENDOR STREQUAL "IBMESSLMT")
if(NOT BLAS_LIBRARIES)
check_fortran_libraries(
BLAS_LIBRARIES
BLAS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment