Changeset View
Changeset View
Standalone View
Standalone View
kde-modules/KDECMakeSettings.cmake
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Line(s) | 287 | function(_repository_name reponame dir) | |||
---|---|---|---|---|---|
300 | endif() | 300 | endif() | ||
301 | set(${reponame} ${${reponame}} PARENT_SCOPE) | 301 | set(${reponame} ${${reponame}} PARENT_SCOPE) | ||
302 | endfunction() | 302 | endfunction() | ||
303 | 303 | | |||
304 | if(NOT EXISTS ${CMAKE_SOURCE_DIR}/po AND NOT TARGET fetch-translations) | 304 | if(NOT EXISTS ${CMAKE_SOURCE_DIR}/po AND NOT TARGET fetch-translations) | ||
305 | option(KDE_L10N_AUTO_TRANSLATIONS "Automatically 'make fetch-translations`" OFF) | 305 | option(KDE_L10N_AUTO_TRANSLATIONS "Automatically 'make fetch-translations`" OFF) | ||
306 | set(KDE_L10N_BRANCH "trunk" CACHE STRING "Branch from l10n.kde.org to fetch from: trunk | stable | lts | trunk_kde4 | stable_kde4") | 306 | set(KDE_L10N_BRANCH "trunk" CACHE STRING "Branch from l10n.kde.org to fetch from: trunk | stable | lts | trunk_kde4 | stable_kde4") | ||
307 | 307 | | |||
308 | if(KDE_L10N_DOWNLOAD_TRANSLATIONS) | 308 | if(KDE_L10N_AUTO_TRANSLATIONS) | ||
309 | set(_EXTRA_ARGS "ALL") | 309 | set(_EXTRA_ARGS "ALL") | ||
310 | else() | 310 | else() | ||
311 | set(_EXTRA_ARGS) | 311 | set(_EXTRA_ARGS) | ||
312 | endif() | 312 | endif() | ||
313 | 313 | | |||
314 | set(_reponame "") | 314 | set(_reponame "") | ||
315 | _repository_name(_reponame "${CMAKE_SOURCE_DIR}") | 315 | _repository_name(_reponame "${CMAKE_SOURCE_DIR}") | ||
316 | 316 | | |||
Show All 19 Lines |