From 83f1e9c329f35832050288bc1096f73afe24e860 Mon Sep 17 00:00:00 2001 From: Jonathan Riddell Date: Fri, 2 Mar 2018 14:38:30 +0000 Subject: [PATCH] call ecm_install_po_files_as_qm if po dir exists. this stops Neon CI adding its own po instructions which breaks because of clashes in src/main/ --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ad3a9b98..ccca237e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,4 +160,8 @@ if (BUILD_TESTING) add_subdirectory(tests/benchmarks) endif() +if (IS_DIRECTORY "${CMAKE_SOURCE_DIR}/po") + ecm_install_po_files_as_qm(po) +endif() + feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)