diff options
author | nega <1098-nega@users.noreply.gitlab.kitware.com> | 2022-03-30 18:09:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-30 20:01:49 (GMT) |
commit | 6dab35e25dfc25436c0887b780af70c90c781f5a (patch) | |
tree | 04bade452d92d89a2eb08bb88b690d248e40e0be | |
parent | b2a7f73b556ae94c289cd5c52736e02eb70b1844 (diff) | |
download | CMake-6dab35e25dfc25436c0887b780af70c90c781f5a.zip CMake-6dab35e25dfc25436c0887b780af70c90c781f5a.tar.gz CMake-6dab35e25dfc25436c0887b780af70c90c781f5a.tar.bz2 |
FindBLAS: Quiet pkg-config errors
Issue: #23314
-rw-r--r-- | Modules/FindBLAS.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index e3bf8f9..7a381af 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -273,8 +273,8 @@ endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) if(BLA_PREFER_PKGCONFIG) - find_package(PkgConfig) - pkg_check_modules(PKGC_BLAS blas) + find_package(PkgConfig QUIET) + pkg_check_modules(PKGC_BLAS QUIET blas) if(PKGC_BLAS_FOUND) set(BLAS_FOUND ${PKGC_BLAS_FOUND}) set(BLAS_LIBRARIES "${PKGC_BLAS_LINK_LIBRARIES}") |