diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-11-11 16:11:07 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2020-11-11 15:21:13 +0000 |
commit | fd6fe3f4e6d134e0cd2b809bb86024a6d4430e08 (patch) | |
tree | 564c7d6ba7cf3d5c05bb7b4ddb48ae60abb1eb09 /cmake | |
parent | b7d35fee821a6f3683571d416070064449e4e595 (diff) |
cmake build: Remove branding from target names
Targets are never branded
Change-Id: If7f23ac005b5492d52f87ba71789e674bb077a00
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCreatorAPI.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index 0221248fae..1661961c04 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -133,7 +133,7 @@ function(add_qtc_library name) endif() add_library(${name} ${library_type} ${_arg_SOURCES}) - add_library(${IDE_CASED_ID}::${name} ALIAS ${name}) + add_library(QtCreator::${name} ALIAS ${name}) set_public_headers(${name} "${_arg_SOURCES}") # TODO remove, see above @@ -339,9 +339,9 @@ function(add_qtc_plugin target_name) set(_arg_DEPENDENCY_STRING "\"Dependencies\" : [\n") foreach(i IN LISTS _DEP_PLUGINS) - if (i MATCHES "^${IDE_CASED_ID}::") + if (i MATCHES "^QtCreator::") set(_v ${IDE_VERSION}) - string(REPLACE "${IDE_CASED_ID}::" "" i ${i}) + string(REPLACE "QtCreator::" "" i ${i}) else() get_property(_v TARGET "${i}" PROPERTY _arg_VERSION) endif() @@ -353,9 +353,9 @@ function(add_qtc_plugin target_name) _arg_DEPENDENCY_STRING "${_arg_DEPENDENCY_STRING}" ) foreach(i IN LISTS ${_arg_RECOMMENDS}) - if (i MATCHES "^${IDE_CASED_ID}::") + if (i MATCHES "^QtCreator::") set(_v ${IDE_VERSION}) - string(REPLACE "${IDE_CASED_ID}::" "" i ${i}) + string(REPLACE "QtCreator::" "" i ${i}) else() get_property(_v TARGET "${i}" PROPERTY _arg_VERSION) endif() @@ -393,7 +393,7 @@ function(add_qtc_plugin target_name) endif() add_library(${target_name} SHARED ${_arg_SOURCES}) - add_library(${IDE_CASED_ID}::${target_name} ALIAS ${target_name}) + add_library(QtCreator::${target_name} ALIAS ${target_name}) set_public_headers(${target_name} "${_arg_SOURCES}") ### Generate EXPORT_SYMBOL |