mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:09:02 +08:00
Add Uranium CMake dir if it is set
Contributes to issue CURA-3487.
This commit is contained in:
parent
b0ecb3ecdf
commit
1bcc19987d
@ -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(${CMAKE_SOURCE_DIR}/cura.desktop.in ${CMAKE_BINARY_DIR}/cura.desktop @ONLY)
|
||||||
configure_file(cura/CuraVersion.py.in CuraVersion.py @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 "")
|
if(NOT ${URANIUM_SCRIPTS_DIR} STREQUAL "")
|
||||||
include(UraniumTranslationTools)
|
include(UraniumTranslationTools)
|
||||||
# Extract Strings
|
# Extract Strings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user