remove <MODULE>_FIND_QUIETLY overrides from CMake modules

since find_package_handle_standard_args() is used and no status messages
are printed by the modules there is no reason to set <MODULE>_FIND_QUIETLY
variable (which should be prefixed with the actual module name, not upper
case)
This commit is contained in:
Ivailo Monev 2020-02-19 20:57:22 +00:00
parent 89d52f7abb
commit e9cbcbb50c
15 changed files with 0 additions and 60 deletions

View file

@ -10,10 +10,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(DBUS_INCLUDES AND DBUS_LIBRARIES)
set(DBUS_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_DBUS QUIET dbus-1)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(FONTCONFIG_INCLUDES AND FONTCONFIG_LIBRARIES)
set(FONTCONFIG_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_FONTCONFIG QUIET fontconfig)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(HARFBUZZ_INCLUDES AND HARFBUZZ_LIBRARIES)
set(HARFBUZZ_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_HARFBUZZ QUIET harfbuzz)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(ICU_INCLUDES AND ICU_LIBRARIES)
set(ICU_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_ICU QUIET icu-i18n)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(MNG_INCLUDES AND MNG_LIBRARIES)
set(MNG_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_MNG QUIET libmng)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(MYSQL_INCLUDES AND MYSQL_LIBRARIES)
set(MYSQL_FIND_QUIETLY TRUE)
endif()
# Only MariaDB provides pkg-config files and only in recent versions
if(NOT WIN32)
include(FindPkgConfig)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(NIS_INCLUDES AND NIS_LIBRARIES)
set(NIS_FIND_QUIETLY TRUE)
endif()
# NIS does not provide pkg-config files
find_path(NIS_INCLUDES

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(NSL_INCLUDES AND NSL_LIBRARIES)
set(NSL_FIND_QUIETLY TRUE)
endif()
# NSL does not provide pkg-config files
find_path(NSL_INCLUDES

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(ODBC_INCLUDES AND ODBC_LIBRARIES)
set(ODBC_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_ODBC QUIET odbc)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(PCRE_INCLUDES AND PCRE_LIBRARIES)
set(PCRE_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_PCRE QUIET libpcre)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(POSTGRESQL_INCLUDES AND POSTGRESQL_LIBRARIES)
set(POSTGRESQL_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_POSTGRESQL QUIET libpq)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(RESOLV_INCLUDES AND RESOLV_LIBRARIES)
set(RESOLV_FIND_QUIETLY TRUE)
endif()
# resolv does not provide pkg-config files
find_path(RESOLV_INCLUDES

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(SQLITE_INCLUDES AND SQLITE_LIBRARIES)
set(SQLITE_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_SQLITE QUIET sqlite3)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(UNWIND_INCLUDES AND UNWIND_LIBRARIES)
set(UNWIND_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_UNWIND QUIET libunwind)

View file

@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
if(ZSTD_INCLUDES AND ZSTD_LIBRARIES)
set(ZSTD_FIND_QUIETLY TRUE)
endif()
if(NOT WIN32)
include(FindPkgConfig)
pkg_check_modules(PC_ZSTD QUIET libzstd)