Add Uranium CMake dir if it is set

Contributes to issue CURA-3487.
This commit is contained in:
Ghostkeeper 2017-04-03 17:17:04 +02:00
parent b0ecb3ecdf
commit 1bcc19987d
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -20,6 +20,9 @@ set(CURA_BUILDTYPE "" CACHE STRING "Build type of Cura, eg. 'PPA'")
configure_file(${CMAKE_SOURCE_DIR}/cura.desktop.in ${CMAKE_BINARY_DIR}/cura.desktop @ONLY)
configure_file(cura/CuraVersion.py.in CuraVersion.py @ONLY)
if(NOT ${URANIUM_DIR} STREQUAL "")
set(CMAKE_MODULE_PATH "${URANIUM_DIR}/cmake")
endif()
if(NOT ${URANIUM_SCRIPTS_DIR} STREQUAL "")
include(UraniumTranslationTools)
# Extract Strings