Browse Source

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 <[email protected]>
Merge-request: !7128
Brad King 3 years ago
parent
commit
63d5c8a3a8
4 changed files with 7 additions and 7 deletions
  1. 2 2
      Modules/FindBLAS.cmake
  2. 2 2
      Modules/FindGLUT.cmake
  3. 1 1
      Modules/FindGSL.cmake
  4. 2 2
      Modules/FindLAPACK.cmake

+ 2 - 2
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}")

+ 2 - 2
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.

+ 1 - 1
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}" )

+ 2 - 2
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}")