[qt5] Avoid printing warnings for problems in applying"confguration patches"

The `QUIET` option for `vcpkg_apply_patches` was added in f4c34bb42d . 
Fixes https://github.com/Microsoft/vcpkg/issues/411 .
This commit is contained in:
Silvio Traversaro 2017-01-06 23:02:19 +01:00 committed by GitHub
parent d4d3133afc
commit 95ff552b85

View File

@ -32,11 +32,13 @@ if(DEFINED VCPKG_CRT_LINKAGE AND VCPKG_CRT_LINKAGE STREQUAL static)
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES "${CMAKE_CURRENT_LIST_DIR}/set-static-qmakespec.patch"
QUIET
)
else()
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES "${CMAKE_CURRENT_LIST_DIR}/set-shared-qmakespec.patch"
QUIET
)
endif()