aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-06-21 02:14:54 +0200
committerAleix Pol <aleixpol@kde.org>2015-06-21 02:14:54 +0200
commit173b33592739f9a671f34eb816499ef32fe65c06 (patch)
treed4dd33cee0d95dc5a3ef2b4ab023ba922af86e7e /CMakeLists.txt
parenta5bb0860caf443cb89a7d4b67a040485e7509e74 (diff)
downloadkconfig-173b33592739f9a671f34eb816499ef32fe65c06.tar.gz
kconfig-173b33592739f9a671f34eb816499ef32fe65c06.tar.bz2
Make it possible to use kconfig_compiler from different sources
This way we can specify the used tooling targets to be used, useful if we're cross-compiling, since we get to use the tooling that runs in the local platform. REVIEW: 124104
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f510e3ea..b44fbf24 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,6 +61,9 @@ install(EXPORT KF5ConfigTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
FILE KF5ConfigTargets.cmake NAMESPACE KF5:: COMPONENT Devel)
+install(EXPORT KF5ConfigCompilerTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
+ FILE KF5ConfigCompilerTargets.cmake NAMESPACE KF5:: COMPONENT Devel)
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kconfig_version.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5} COMPONENT Devel )