From 88969b51679784ce2f64da4d8ceefbf802cfcdff Mon Sep 17 00:00:00 2001 From: "Igor S. Gerasimov" Date: Sat, 7 Aug 2021 11:21:16 +0300 Subject: FindBLAS: Update FlexiBLAS --- Modules/FindBLAS.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Modules/FindBLAS.cmake') diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 5ce726c401..e22fae318e 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -675,18 +675,22 @@ endif() # FlexiBLAS? (http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/) if(BLA_VENDOR STREQUAL "FlexiBLAS" OR BLA_VENDOR STREQUAL "All") + set(_blas_flexiblas_lib "flexiblas") + if(NOT BLAS_LIBRARIES) check_blas_libraries( BLAS_LIBRARIES BLAS sgemm "" - "flexiblas" + "${_blas_flexiblas_lib}" "" "" "" ) endif() + + unset(_blas_flexiblas_lib) endif() # OpenBLAS? (http://www.openblas.net) -- cgit v1.2.1