From baea8bf7d53d6104a4aecb424b1bd34299c1cf1e Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Wed, 19 Feb 2020 14:45:05 +0100 Subject: [PATCH] Fix qmimeprovider_database.cpp generation for Win32 with CMake Incorrect arguments were being passed to the command which generates the above file. Change-Id: I9f06aca30e747e4368c8f6a727a02cb93b936167 Reviewed-by: Alexandru Croitor --- 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 45b0033abe..42b2b38502 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -1183,7 +1183,7 @@ if(QT_FEATURE_mimetype AND QT_FEATURE_mimetype_database) set(mime_dir "${CMAKE_CURRENT_SOURCE_DIR}/mimetypes/mime") set(command_depends "${mime_dir}/generate.pl" "${corelib_mimetypes_resource_file}") if (MSVC) - list(APPEND command_args "${mime_dir}/generate.bat" "${mime_dir}/hexdump.ps1" ) + list(APPEND command_args "${mime_dir}/generate.bat") list(APPEND command_depends "${mime_dir}/generate.bat" "${mime_dir}/hexdump.ps1" ) else() list(APPEND command_args perl "${mime_dir}/generate.pl" )