FindGSL: Quiet pkg-config errors

Issue: #23314
This commit is contained in:
nega 2022-03-30 14:10:09 -04:00 committed by Brad King
parent 655582e931
commit 99f7d1973c

View File

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