Dealias the target implicitly in _qt_internal_add_transitive_property
Ensure the target is not an ALIAS target when adding the transitive properties. Pick-to: 6.8 Change-Id: Ic9cb4f1a6e110596e430176cfa9b7f742d2c3446 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit d9ce5184c28b7d00330939f9907be5d0a069e68d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
93933c5761
commit
61369b37e1
@ -735,6 +735,7 @@ function(_qt_internal_add_transitive_property target type property)
|
|||||||
message(FATAL_ERROR "Attempt to assign unknown TRANSITIVE_${type}_PROPERTIES property")
|
message(FATAL_ERROR "Attempt to assign unknown TRANSITIVE_${type}_PROPERTIES property")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
_qt_internal_dealias_target(target)
|
||||||
get_target_property(transitive_properties ${target}
|
get_target_property(transitive_properties ${target}
|
||||||
TRANSITIVE_${type}_PROPERTIES)
|
TRANSITIVE_${type}_PROPERTIES)
|
||||||
if(NOT "${property}" IN_LIST transitive_properties)
|
if(NOT "${property}" IN_LIST transitive_properties)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user