summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-31 12:52:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-31 12:53:01 (GMT)
commit63d5c8a3a82860fe5d777759e32e42d021859e46 (patch)
tree7a7206f24ba5b0a5dc8eaa3eeb01b81574397da2 /Modules
parent7ae3c6740b6a2dec2807b6dce92f3c468c500bea (diff)
parent99f7d1973c85272b4eba0638281388b36a40e5aa (diff)
downloadCMake-63d5c8a3a82860fe5d777759e32e42d021859e46.zip
CMake-63d5c8a3a82860fe5d777759e32e42d021859e46.tar.gz
CMake-63d5c8a3a82860fe5d777759e32e42d021859e46.tar.bz2
Merge topic 'quiet_pkg-config'
99f7d1973c FindGSL: Quiet pkg-config errors 655582e931 FindLAPACK: Quiet pkg-config errors 6dab35e25d FindBLAS: Quiet pkg-config errors b2a7f73b55 FindGLUT: Quiet pkg-config errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7128
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBLAS.cmake4
-rw-r--r--Modules/FindGLUT.cmake4
-rw-r--r--Modules/FindGSL.cmake2
-rw-r--r--Modules/FindLAPACK.cmake4
4 files changed, 7 insertions, 7 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}")
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index fe274de..7a16048 100644
--- a/Modules/FindGLUT.cmake
+++ b/Modules/FindGLUT.cmake
@@ -94,9 +94,9 @@ function(_add_glut_target_simple)
IMPORTED_LOCATION "${GLUT_glut_LIBRARY}")
endfunction()
-find_package(PkgConfig)
+find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
- pkg_check_modules(GLUT glut)
+ pkg_check_modules(GLUT QUIET glut)
if(GLUT_FOUND)
# GLUT_INCLUDE_DIRS is now the official result variable, but
# older versions of CMake only provided GLUT_INCLUDE_DIR.
diff --git a/Modules/FindGSL.cmake b/Modules/FindGSL.cmake
index 485735a..1943847 100644
--- a/Modules/FindGSL.cmake
+++ b/Modules/FindGSL.cmake
@@ -77,7 +77,7 @@ endif()
# *NIX systems. See :module:`findpkgconfig`
# This will return ``GSL_INCLUDEDIR`` and ``GSL_LIBDIR`` used below.
if( GSL_USE_PKGCONFIG )
- find_package(PkgConfig)
+ find_package(PkgConfig QUIET)
pkg_check_modules( GSL QUIET gsl )
if( EXISTS "${GSL_INCLUDEDIR}" )
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}")