From ff9baa8f4a9b910862618dac54d0bdb537af29d1 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 11 Apr 2021 12:21:00 +0200 Subject: Remove check for po subdir. These function check for the po directory presence themselves, and can also handle it being in the build directory with KDE_L10N_AUTO_TRANSLATIONS NO_CHANGELOG --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cf453525..89d977f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,9 +60,7 @@ if (BUILD_TESTING) endif() include (ECMPoQmTools) -if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") - ecm_install_po_files_as_qm(po) -endif() +ecm_install_po_files_as_qm(po) # create a Config.cmake and a ConfigVersion.cmake file and install them -- cgit v1.2.1