From e82c7b986dd55aa31f22a5e4ddb53c42c363fc9c Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 7 Apr 2017 14:43:46 +0200 Subject: Allow projects to include the file twice --- kde-modules/KDECMakeSettings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kde-modules/KDECMakeSettings.cmake') diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake index c536e34a..e5f2ca6b 100644 --- a/kde-modules/KDECMakeSettings.cmake +++ b/kde-modules/KDECMakeSettings.cmake @@ -301,7 +301,7 @@ function(_repository_name reponame) endif() endfunction() -if(NOT EXISTS ${CMAKE_SOURCE_DIR}/po) +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") -- cgit v1.2.1