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