aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2014-05-05 01:39:27 +0200
committerDavid Faure <faure@kde.org>2014-05-05 01:39:27 +0200
commit155a702448b39e00a820b74ab13bee1e715eb642 (patch)
tree908cf4d8ccdba57a2070ea8526b6f8c9e72a5fd4
parent447a43e117a925ac5a4d833ebc1c85f5e8b102f9 (diff)
downloadkconfig-155a702448b39e00a820b74ab13bee1e715eb642.tar.gz
kconfig-155a702448b39e00a820b74ab13bee1e715eb642.tar.bz2
Compile translations (in tags and tarballs)
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e221cb35..d82e953d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,11 @@ ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KCONFIG
add_subdirectory(src)
add_subdirectory(autotests)
+include (ECMPoQmTools)
+if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
+ ecm_install_po_files_as_qm(po)
+endif()
+
# create a Config.cmake and a ConfigVersion.cmake file and install them
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5Config")