Fix property used for writing plugin dependencies

Amends 6f2572a5f5

Change-Id: Ied88f97f0a94c83edf2375dde130f51c3c2beeba
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Eike Ziller
2024-09-03 14:15:22 +02:00
committed by Marcus Tillmanns
parent 7571f0b8f4
commit 6cd306a992

View File

@@ -397,7 +397,7 @@ function(add_qtc_plugin target_name)
set(_v ${IDE_VERSION}) set(_v ${IDE_VERSION})
string(REPLACE "QtCreator::" "" i ${i}) string(REPLACE "QtCreator::" "" i ${i})
else() else()
get_property(_v TARGET "${i}" PROPERTY _arg_VERSION) get_property(_v TARGET "${i}" PROPERTY QTC_PLUGIN_VERSION)
endif() endif()
string(TOLOWER ${i} i) string(TOLOWER ${i} i)
string(APPEND _arg_DEPENDENCY_STRING string(APPEND _arg_DEPENDENCY_STRING
@@ -409,7 +409,7 @@ function(add_qtc_plugin target_name)
set(_v ${IDE_VERSION}) set(_v ${IDE_VERSION})
string(REPLACE "QtCreator::" "" i ${i}) string(REPLACE "QtCreator::" "" i ${i})
else() else()
get_property(_v TARGET "${i}" PROPERTY _arg_VERSION) get_property(_v TARGET "${i}" PROPERTY QTC_PLUGIN_VERSION)
endif() endif()
string(TOLOWER ${i} i) string(TOLOWER ${i} i)
string(APPEND _arg_DEPENDENCY_STRING string(APPEND _arg_DEPENDENCY_STRING