From ac103d45f63bd9a57ff867a52c7c95616f6daf51 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 23 Aug 2016 18:42:52 +0200 Subject: CMake: Do not add po/ if USE_NLS is OFF Previously, we would have generated all the translations, but not turn them on in the code. Instead, move the Translation crap into po/ and disable po/ alltogether if USE_NLS if OFF. --- po/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'po') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 174cc5d41..258c9b050 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,3 +1,5 @@ +include(Translations) + set(languages_excluded he ## disabled by translator request #313283 ) -- cgit v1.2.3