CMake: Make pkg-config functions quiet

This commit is contained in:
João Valverde 2020-10-19 16:35:29 +01:00 committed by Wireshark GitLab Utility
parent cffd219764
commit a76c11e290
2 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@ include( FindWSWinLibs )
FindWSWinLibs( "bcg729-.*" "BCG729_HINTS" )
if (NOT WIN32)
find_package(PkgConfig)
pkg_search_module(BCG729 bcg729)
find_package(PkgConfig QUIET)
pkg_search_module(BCG729 QUIET bcg729)
endif()
find_path( BCG729_INCLUDE_DIR

View File

@ -12,8 +12,8 @@ include( FindWSWinLibs )
FindWSWinLibs( "snappy-.*" "SNAPPY_HINTS" )
if( NOT WIN32)
find_package(PkgConfig)
pkg_search_module(SNAPPY libsnappy)
find_package(PkgConfig QUIET)
pkg_search_module(SNAPPY QUIET libsnappy)
endif()
find_path(SNAPPY_INCLUDE_DIR