diff options
author | Brad King <brad.king@kitware.com> | 2018-11-20 14:25:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-11-20 14:26:31 (GMT) |
commit | e653f46677450090b6acb46e9e12543cc307021a (patch) | |
tree | b462db140bc63b7a10395a876be3521d622c9c03 /Modules/FindBLAS.cmake | |
parent | fc366d25946f7434527658475835d1e587cea4ea (diff) | |
parent | a3c31effedbaf6c552fc433ac6688cb0453e7bf3 (diff) | |
download | CMake-e653f46677450090b6acb46e9e12543cc307021a.zip CMake-e653f46677450090b6acb46e9e12543cc307021a.tar.gz CMake-e653f46677450090b6acb46e9e12543cc307021a.tar.bz2 |
Merge topic 'blas-pkgcfg'
a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2631
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 d150826..14cc68a 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -94,6 +94,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() |