From 155a702448b39e00a820b74ab13bee1e715eb642 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 5 May 2014 01:39:27 +0200 Subject: Compile translations (in tags and tarballs) --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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") -- cgit v1.2.1