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 <alexandru.croitor@qt.io>
This commit is contained in:
parent
3703a28511
commit
baea8bf7d5
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user