Skip to content

Commit

Permalink
find non-quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Jan 2, 2024
1 parent b3ff02d commit d26a072
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions cmake_admin/FindInstPatch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ This will define the following variables:
#]=======================================================================]

# Use pkg-config if available
find_package(PkgConfig QUIET)
pkg_check_modules(PC_INSTPATCH QUIET libinstpatch-1.0)
find_package(PkgConfig)
pkg_check_modules(PC_INSTPATCH libinstpatch-1.0)

# Find the headers and library
find_path(
Expand Down Expand Up @@ -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 QUIET)
find_package(GLib2)
endif()
if(NOT TARGET SndFile::sndfile)
find_package(SndFile QUIET)
find_package(SndFile)
endif()
set(_instpatch_link_libraries "GLib2::gobject-2" "GLib2::gthread-2"
"GLib2::glib-2" "SndFile::sndfile")
Expand Down
16 changes: 8 additions & 8 deletions cmake_admin/FindSndFile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ For compatibility with upstream, the following variables are also set:
#]=======================================================================]

# Use pkg-config if available
find_package(PkgConfig QUIET)
pkg_check_modules(PC_SNDFILE QUIET sndfile)
find_package(PkgConfig)
pkg_check_modules(PC_SNDFILE sndfile)

# Find the headers and libraries
find_path(
Expand Down Expand Up @@ -78,12 +78,12 @@ if(PC_SNDFILE_FOUND)
endif()
elseif(_sndfile_library)
# sndfile may need any of these libraries
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)
find_package(Ogg 1.3)
find_package(Vorbis)
find_package(FLAC)
find_package(Opus)
find_package(mp3lame)
find_package(mpg123)

if(NOT CMAKE_CROSSCOMPILING)
include(CheckSourceRuns)
Expand Down

0 comments on commit d26a072

Please sign in to comment.