diff options
author | awhiemstra <a.hiemstra@ultimaker.com> | 2016-09-06 18:13:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 18:13:15 +0300 |
commit | 16605a3e0152dfeea302772cfc4349ad6050e298 (patch) | |
tree | 7795dc8455f365d8bd76d4b61c93324fe161d770 /CMakeLists.txt | |
parent | 9ab0cf9cb3a6ff070169a4533e3c929f315a6c4e (diff) |
Move the UraniumTranslationTools include into the enabled check
So that we can still build Cura even if we do not care about translations.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dae1867f01..265e471dd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,6 @@ project(cura NONE) cmake_minimum_required(VERSION 2.8.12) -include(UraniumTranslationTools) - include(GNUInstallDirs) set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../uranium/scripts" CACHE DIRECTORY "The location of the scripts directory of the Uranium repository") @@ -20,6 +18,7 @@ configure_file(${CMAKE_SOURCE_DIR}/cura.desktop.in ${CMAKE_BINARY_DIR}/cura.desk configure_file(cura/CuraVersion.py.in CuraVersion.py @ONLY) if(NOT ${URANIUM_SCRIPTS_DIR} STREQUAL "") + include(UraniumTranslationTools) # Extract Strings add_custom_target(extract-messages ${URANIUM_SCRIPTS_DIR}/extract-messages ${CMAKE_SOURCE_DIR} cura) # Build Translations |