aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Sitter <sitter@kde.org>2017-04-20 14:00:10 +0200
committerHarald Sitter <sitter@kde.org>2017-04-20 14:07:33 +0200
commitfe46a935227f3ba8c228b8b434546a8014444e02 (patch)
tree69c1fd13dd8d734dd4b70055a71eca7bf2956e8e
parentce4f3b95abbdaf1b57a41ba592e835a3fe40ba80 (diff)
downloadextra-cmake-modules-fe46a935227f3ba8c228b8b434546a8014444e02.tar.gz
extra-cmake-modules-fe46a935227f3ba8c228b8b434546a8014444e02.tar.bz2
use correct variable for fetch-translations injection
Summary: KDE_L10N_AUTO_TRANSLATIONS is the name of the relevant option Reviewers: apol Reviewed By: apol Subscribers: #frameworks, #build_system Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D5523
-rw-r--r--kde-modules/KDECMakeSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake
index d78b02ab..818305d4 100644
--- a/kde-modules/KDECMakeSettings.cmake
+++ b/kde-modules/KDECMakeSettings.cmake
@@ -305,7 +305,7 @@ if(NOT EXISTS ${CMAKE_SOURCE_DIR}/po AND NOT TARGET fetch-translations)
option(KDE_L10N_AUTO_TRANSLATIONS "Automatically 'make fetch-translations`" OFF)
set(KDE_L10N_BRANCH "trunk" CACHE STRING "Branch from l10n.kde.org to fetch from: trunk | stable | lts | trunk_kde4 | stable_kde4")
- if(KDE_L10N_DOWNLOAD_TRANSLATIONS)
+ if(KDE_L10N_AUTO_TRANSLATIONS)
set(_EXTRA_ARGS "ALL")
else()
set(_EXTRA_ARGS)