diff options
author | Martin von Gagern <martin.vgagern@gmx.net> | 2018-11-18 10:24:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-11-19 20:47:20 (GMT) |
commit | a3c31effedbaf6c552fc433ac6688cb0453e7bf3 (patch) | |
tree | 0b8d2ed5a8da6db6fb157a28e6aca526c3bf5d97 /Modules/FindBLAS.cmake | |
parent | 8d70ed5a10362209d265a15d993f319235aea7e5 (diff) | |
download | CMake-a3c31effedbaf6c552fc433ac6688cb0453e7bf3.zip CMake-a3c31effedbaf6c552fc433ac6688cb0453e7bf3.tar.gz CMake-a3c31effedbaf6c552fc433ac6688cb0453e7bf3.tar.bz2 |
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.
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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() |