From 655582e9315b6e662b6e49e6d7718b38cfd2a559 Mon Sep 17 00:00:00 2001 From: nega <1098-nega@users.noreply.gitlab.kitware.com> Date: Wed, 30 Mar 2022 14:09:51 -0400 Subject: FindLAPACK: Quiet pkg-config errors Issue: #23314 --- Modules/FindLAPACK.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 5540965..50d4ebd 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -278,8 +278,8 @@ endif() # Search with pkg-config if specified if(BLA_PREFER_PKGCONFIG) - find_package(PkgConfig) - pkg_check_modules(PKGC_LAPACK lapack) + find_package(PkgConfig QUIET) + pkg_check_modules(PKGC_LAPACK QUIET lapack) if(PKGC_LAPACK_FOUND) set(LAPACK_FOUND TRUE) set(LAPACK_LIBRARIES "${PKGC_LAPACK_LINK_LIBRARIES}") -- cgit v0.12