diff --git a/CMakeLists.txt b/CMakeLists.txt index e221cb3..d82e953 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")