summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseGlobalTargets.cmake
diff options
context:
space:
mode:
authorJean-Michaël Celerier <jean-michael.celerier@kdab.com>2019-02-11 12:12:07 +0100
committerJean-Michaël Celerier <jean-michael.celerier@kdab.com>2019-05-02 11:41:55 +0000
commit1b36fe53c621a4f37322c1bca755989d76b7d3cf (patch)
treeb5a8c1a8ca61be00cc8a53a1c6c6e0fdebd3b688 /cmake/QtBaseGlobalTargets.cmake
parent94c9d15355e07113da693f067c1ac15e5f7dc8d7 (diff)
cmake: export locally-built dependencies in static build
Change-Id: Ifbcedd32cef3b9c8b4b8c9ca0d229850f696f406 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtBaseGlobalTargets.cmake')
-rw-r--r--cmake/QtBaseGlobalTargets.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtBaseGlobalTargets.cmake b/cmake/QtBaseGlobalTargets.cmake
index d50d1e2c2b..67d20b775c 100644
--- a/cmake/QtBaseGlobalTargets.cmake
+++ b/cmake/QtBaseGlobalTargets.cmake
@@ -78,6 +78,7 @@ add_library(Qt::GlobalConfigPrivate ALIAS GlobalConfigPrivate)
install(TARGETS Platform GlobalConfig GlobalConfigPrivate EXPORT "${INSTALL_CMAKE_NAMESPACE}Targets")
install(EXPORT "${INSTALL_CMAKE_NAMESPACE}Targets" NAMESPACE ${INSTALL_CMAKE_EXPORT_NAMESPACE}:: DESTINATION "${config_install_dir}")
+export(EXPORT "${INSTALL_CMAKE_NAMESPACE}Targets")
## Install some QtBase specific CMake files:
install(FILES