Browse Source

FindGSL: Quiet pkg-config errors

Issue: #23314
nega 3 years ago
parent
commit
99f7d1973c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindGSL.cmake

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