From 550e02b80975dc6aede664651216bd6b9511f7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Mon, 15 Nov 2021 09:17:26 +0100 Subject: [PATCH] Make missing xmlstarlet command just a status message We don't list xmlstarlet in the install documentation, also because the affect on code size is not too big. We therefore also don't print a CMake warning then. Pick-to: 6.2 Change-Id: Ifad3ef0106d09640a7c7d1736f4d5382bcf18e35 Reviewed-by: Thiago Macieira --- src/corelib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index c8c51e4a8b..bae11298bc 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -1206,7 +1206,7 @@ if(QT_FEATURE_mimetype AND QT_FEATURE_mimetype_database) set(corelib_mimetypes_resource_file "${mimetypes_resource_file_minified}") endif() else() - message(WARNING "xmlstarlet was not found. ${mime_types_resource_file} will not be minified!") + message(STATUS "xmlstarlet command was not found. ${mime_types_resource_file} will not be minified.") endif() if (CMAKE_VERSION GREATER_EQUAL 3.19)