Fix generating of Android deployment config in Multi-Config build

Add the config-specific suffix to the generated Android deployment
config file.

Amends d20f4ae706

Change-Id: If1755baf5548adb4d95733477d8b5af85e1fd2dd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Alexey Edelev 2021-11-18 13:06:50 +01:00
parent 04ec14105e
commit a41d9bcac9
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ function(qt6_android_generate_deployment_settings target)
if (NOT target_output_name)
set(target_output_name ${target})
endif()
set(deploy_file "${target_binary_dir}/android-${target_output_name}-deployment-settings.json")
set(deploy_file
"${target_binary_dir}/android-${target_output_name}-deployment-settings-$<CONFIG>.json")
set(file_contents "{\n")
# content begin