diff options
author | Jelle Spijker <j.spijker@ultimaker.com> | 2020-08-28 13:57:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 13:57:39 +0300 |
commit | 2d1128f0880f5e6a82a64f5dda29c2e3ea520159 (patch) | |
tree | cc65875d666cab1a6a1f3654653affdc7f83c5f0 /CMakeLists.txt | |
parent | 4058790491e5c2b4857e7955de60b63230ed1723 (diff) | |
parent | 5f2d721bdca9cdb8fe11117adf76250a8ae0b072 (diff) |
Merge pull request #8196 from Ultimaker/speed_up_ci
Speed up ci
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 39628b8fa8..c7637be27f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,8 @@ if(CURA_DEBUGMODE) set(_cura_debugmode "ON") endif() +option(GENERATE_TRANSLATIONS "Should the translations be generated?" ON) + set(CURA_APP_NAME "cura" CACHE STRING "Short name of Cura, used for configuration folder") set(CURA_APP_DISPLAY_NAME "Ultimaker Cura" CACHE STRING "Display name of Cura") set(CURA_VERSION "master" CACHE STRING "Version name of Cura") @@ -50,7 +52,9 @@ if(NOT ${URANIUM_SCRIPTS_DIR} STREQUAL "") # Extract Strings add_custom_target(extract-messages ${URANIUM_SCRIPTS_DIR}/extract-messages ${CMAKE_SOURCE_DIR} cura) # Build Translations - CREATE_TRANSLATION_TARGETS() + if(${GENERATE_TRANSLATIONS}) + CREATE_TRANSLATION_TARGETS() + endif() endif() |