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 <thiago.macieira@intel.com>
bb10
Kai Köhne 2021-11-15 09:17:26 +01:00
parent b99adf7a81
commit 550e02b809
1 changed files with 1 additions and 1 deletions

View File

@ -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)