summaryrefslogtreecommitdiffstats
path: root/cmake/QtModuleConfig.cmake.in
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk@kdab.com>2019-02-12 10:02:15 +0100
committerKevin Funk <kevin.funk@kdab.com>2019-02-12 11:09:03 +0000
commit4bfd6c010bf37f1268a3da36fce2e20cf082157f (patch)
tree975d56cf5b8d4d4b8c40b524054642b658728d9b /cmake/QtModuleConfig.cmake.in
parent61b5a32df3192c5ea44944e2002665af2e51dc21 (diff)
cmake: Create Qt5 compat targets in config files
For now create targets a la "Qt5::Core" to stay compatible with the current Qt5 naming scheme. The name is controllable via a CMake option. Change-Id: If43c058221949b1900c2093f39ccc9d0f38028f1 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake/QtModuleConfig.cmake.in')
-rw-r--r--cmake/QtModuleConfig.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtModuleConfig.cmake.in b/cmake/QtModuleConfig.cmake.in
index e6a2d33983..f72e29b1da 100644
--- a/cmake/QtModuleConfig.cmake.in
+++ b/cmake/QtModuleConfig.cmake.in
@@ -31,4 +31,4 @@ endif()
include(${_import_prefix}/../@INSTALL_CMAKE_NAMESPACE@/QtFeature.cmake)
-qt_make_features_available(Qt::@target@)
+qt_make_features_available(@QT_CMAKE_EXPORT_NAMESPACE@::@target@)