Browse Source

Merge topic 'blas-pkgcfg'

a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2631
pull/324/head
Brad King 7 years ago
committed by Kitware Robot
parent
commit
e653f46677
  1. 1
      Modules/FindBLAS.cmake

1
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()

Loading…
Cancel
Save