summaryrefslogtreecommitdiff
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-23 18:42:52 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-23 18:46:10 +0200
commitac103d45f63bd9a57ff867a52c7c95616f6daf51 (patch)
treec83ae73cfd6c447bb21ef12ffcd87eb361f253af /po/CMakeLists.txt
parent9fb81c6e54a2fe05c0ad0b877fd32f30358e3877 (diff)
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.
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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
)