summaryrefslogtreecommitdiffstats
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-20 14:25:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-20 14:26:31 (GMT)
commite653f46677450090b6acb46e9e12543cc307021a (patch)
treeb462db140bc63b7a10395a876be3521d622c9c03 /Modules/FindBLAS.cmake
parentfc366d25946f7434527658475835d1e587cea4ea (diff)
parenta3c31effedbaf6c552fc433ac6688cb0453e7bf3 (diff)
downloadCMake-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.cmake1
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()