CMake: mark package variables as advanced

Silence pkg_check_modules message.
This commit is contained in:
Maarten Bent
2018-11-04 16:08:07 +01:00
parent d293f94d95
commit e1b725d5be
6 changed files with 9 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ else (FONTCONFIG_LIBRARIES AND FONTCONFIG_INCLUDE_DIR)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_FONTCONFIG fontconfig)
pkg_check_modules(PC_FONTCONFIG QUIET fontconfig)
set(FONTCONFIG_DEFINITIONS ${PC_FONTCONFIG_CFLAGS_OTHER})
endif (NOT WIN32)