Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjen Hiemstra <ahiemstra@heimr.nl>2017-03-15 19:23:54 +0300
committerArjen Hiemstra <ahiemstra@heimr.nl>2017-03-15 19:23:54 +0300
commit04e517eddfcbfe680f94f73d05ed23b7ecdc809e (patch)
treeca4b95ba3d51f2fa9a47d602faeade35d0cdb9ee /CMakeLists.txt
parent1dbec7073809b218c93d08a449707879705a7c6c (diff)
Do not hardcode the path to Uranium but use a cache variable
This allows us to override the uranium dir and make sure it is still found even when it is not the same as "../uranium"
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7b5a64056..cb42f35eee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/
include(GNUInstallDirs)
-set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../uranium/scripts" CACHE DIRECTORY "The location of the scripts directory of the Uranium repository")
+set(URANIUM_DIR "${CMAKE_SOURCE_DIR}/../Uranium" CACHE DIRECTORY "The location of the Uranium repository")
+set(URANIUM_SCRIPTS_DIR "${URANIUM_DIR}/scripts" CACHE DIRECTORY "The location of the scripts directory of the Uranium repository")
# Tests
include(CuraTests)