cmake build: Fix export name in case of branding

We must use the same name everywhere for the export name, for simplicity
stay with QtCreator, since this is not user-visible anyhow.

Change-Id: I4f51982534662d46401dad1320eec3758eed055b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2020-10-22 10:02:47 +02:00
parent 860eeca6c5
commit 067cb61c7c

View File

@@ -214,7 +214,7 @@ function(add_qtc_library name)
endif()
install(TARGETS ${name}
EXPORT ${IDE_CASED_ID}
EXPORT QtCreator
RUNTIME
DESTINATION "${_DESTINATION}"
${COMPONENT_OPTION}
@@ -460,7 +460,7 @@ function(add_qtc_plugin target_name)
if (NOT _arg_SKIP_INSTALL)
install(TARGETS ${target_name}
EXPORT ${IDE_CASED_ID}
EXPORT QtCreator
RUNTIME DESTINATION "${plugin_dir}" OPTIONAL
LIBRARY DESTINATION "${plugin_dir}" OPTIONAL
ARCHIVE