Fix the android paths check

Expand the prop_name.

Amends 575b8a7fa289a2e27984a6c322069f9e1b499024

Fixes: QTBUG-116007
Task-number: QTBUG-115119
Pick-to: 6.6
Change-Id: I66537a6dbb97c89fdff1f721d091eae1d02907e6
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alexey Edelev 2023-08-14 13:32:21 +02:00
parent 3cc693d256
commit 0e3815a7a8

View File

@ -913,7 +913,7 @@ function(_qt_internal_android_format_deployment_paths target)
# empty or -NOTFOUND
set(has_android_paths FALSE)
foreach(prop_name IN LISTS policy_path_properties)
get_target_property(prop_value ${target} prop_name)
get_target_property(prop_value ${target} ${prop_name})
if(prop_value)
set(has_android_paths TRUE)
break()