Fix the android paths check

Expand the prop_name.

Amends 575b8a7fa289a2e27984a6c322069f9e1b499024

Fixes: QTBUG-116007
Task-number: QTBUG-115119
Change-Id: I66537a6dbb97c89fdff1f721d091eae1d02907e6
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 0e3815a7a85befe49b87370842814f5c23b6c8c4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2023-08-14 13:32:21 +02:00 committed by Qt Cherry-pick Bot
parent 73880c92ea
commit a0981f1341

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