forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user