Add Uranium's cmake dir to CMAKE_MODULE_PATH

This makes sure URANIUM_TRANSLATION_TOOLS can be found
This commit is contained in:
Arjen Hiemstra 2017-03-15 17:34:38 +01:00
parent 2620d7748e
commit 04548d2862

View File

@ -23,6 +23,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 "")
list(APPEND CMAKE_MODULE_PATH ${URANIUM_DIR}/cmake)
include(UraniumTranslationTools)
# Extract Strings
add_custom_target(extract-messages ${URANIUM_SCRIPTS_DIR}/extract-messages ${CMAKE_SOURCE_DIR} cura)