From ce63e98b925de0e884fd88b2ddfeeecc6336eac2 Mon Sep 17 00:00:00 2001 From: derselbst Date: Tue, 2 Jan 2024 23:02:34 +0100 Subject: [PATCH] Revert "find non-quiet" This reverts commit d26a0721ebc5177f66bf7b6d21db6e7a9c9ad274. --- cmake_admin/FindInstPatch.cmake | 8 ++++---- cmake_admin/FindSndFile.cmake | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cmake_admin/FindInstPatch.cmake b/cmake_admin/FindInstPatch.cmake index 0f74e4d43..112892651 100644 --- a/cmake_admin/FindInstPatch.cmake +++ b/cmake_admin/FindInstPatch.cmake @@ -25,8 +25,8 @@ This will define the following variables: #]=======================================================================] # Use pkg-config if available -find_package(PkgConfig) -pkg_check_modules(PC_INSTPATCH libinstpatch-1.0) +find_package(PkgConfig QUIET) +pkg_check_modules(PC_INSTPATCH QUIET libinstpatch-1.0) # Find the headers and library find_path( @@ -59,10 +59,10 @@ else() if(NOT TARGET GLib2::gobject-2 OR NOT TARGET GLib2::gthread-2 OR NOT TARGET GLib2::glib-2) - find_package(GLib2) + find_package(GLib2 QUIET) endif() if(NOT TARGET SndFile::sndfile) - find_package(SndFile) + find_package(SndFile QUIET) endif() set(_instpatch_link_libraries "GLib2::gobject-2" "GLib2::gthread-2" "GLib2::glib-2" "SndFile::sndfile") diff --git a/cmake_admin/FindSndFile.cmake b/cmake_admin/FindSndFile.cmake index 540e9e442..f610d9fcf 100644 --- a/cmake_admin/FindSndFile.cmake +++ b/cmake_admin/FindSndFile.cmake @@ -39,8 +39,8 @@ For compatibility with upstream, the following variables are also set: #]=======================================================================] # Use pkg-config if available -find_package(PkgConfig) -pkg_check_modules(PC_SNDFILE sndfile) +find_package(PkgConfig QUIET) +pkg_check_modules(PC_SNDFILE QUIET sndfile) # Find the headers and libraries find_path( @@ -78,12 +78,12 @@ if(PC_SNDFILE_FOUND) endif() elseif(_sndfile_library) # sndfile may need any of these libraries - find_package(Ogg 1.3) - find_package(Vorbis) - find_package(FLAC) - find_package(Opus) - find_package(mp3lame) - find_package(mpg123) + find_package(Ogg 1.3 QUIET) + find_package(Vorbis QUIET) + find_package(FLAC QUIET) + find_package(Opus QUIET) + find_package(mp3lame QUIET) + find_package(mpg123 QUIET) if(NOT CMAKE_CROSSCOMPILING) include(CheckSourceRuns)