From a3c31effedbaf6c552fc433ac6688cb0453e7bf3 Mon Sep 17 00:00:00 2001 From: Martin von Gagern Date: Sun, 18 Nov 2018 05:24:44 -0500 Subject: FindBLAS: Restore BLAS_FOUND when found using pkgconfig Refactoring in commit v3.12.0-rc1~92^2 (FindPkgConfig: export the list of found libraries also as variable, 2018-05-11) dropped use of FPHSA to set `BLAS_FOUND`. Set it explicitly instead. --- Modules/FindBLAS.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index efcf355..b5546e0 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -93,6 +93,7 @@ if(BLA_PREFER_PKGCONFIG) find_package(PkgConfig) pkg_check_modules(PKGC_BLAS blas) if(PKGC_BLAS_FOUND) + set(BLAS_FOUND ${PKGC_BLAS_FOUND}) set(BLAS_LIBRARIES "${PKGC_BLAS_LINK_LIBRARIES}") return() endif() -- cgit v0.12