From 067cb61c7c8154c602b55b5eefe2482401fcee3f Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 22 Oct 2020 10:02:47 +0200 Subject: [PATCH] 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 --- cmake/QtCreatorAPI.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index 9bb27649591..9c2c582b933 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -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