diff options
| author | Diane Bruce <db@FreeBSD.org> | 2020-03-26 00:03:41 +0000 |
|---|---|---|
| committer | Diane Bruce <db@FreeBSD.org> | 2020-03-26 00:03:41 +0000 |
| commit | 766e701f480cf9867436324b8e2cf3613e146413 (patch) | |
| tree | 63da9701ccdacf003837091b6194e40715575e8e /cad/cura/files/patch-CMakeLists.txt | |
| parent | Forgot to add NO_ARCH=yes no binary change (diff) | |
This is the new, shiny frontend for Cura. Check daid/LegacyCura for the
legacy Cura that everyone knows and loves/hates. We re-worked the
whole GUI code at Ultimaker, because the old code started to become
unmaintainable.
WWW: https://github.com/Ultimaker/Cura/wiki
Diffstat (limited to 'cad/cura/files/patch-CMakeLists.txt')
| -rw-r--r-- | cad/cura/files/patch-CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cad/cura/files/patch-CMakeLists.txt b/cad/cura/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..aa360363d3c0 --- /dev/null +++ b/cad/cura/files/patch-CMakeLists.txt @@ -0,0 +1,24 @@ +--- CMakeLists.txt.orig 2020-02-28 16:06:57 UTC ++++ CMakeLists.txt +@@ -6,8 +6,9 @@ include(GNUInstallDirs) + list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) + + set(URANIUM_DIR "${CMAKE_SOURCE_DIR}/../Uranium" CACHE PATH "The location of the Uranium repository") +-set(URANIUM_SCRIPTS_DIR "${URANIUM_DIR}/scripts" CACHE PATH "The location of the scripts directory of the Uranium repository") +- ++if(NOT DEFINED URANIUM_SCRIPTS_DIR) ++ set(URANIUM_SCRIPTS_DIR "${URANIUM_DIR}/scripts" CACHE PATH "The location of the scripts directory of the Uranium repository") ++endif() + # Tests + include(CuraTests) + +@@ -67,6 +68,9 @@ install(DIRECTORY resources + + include(CuraPluginInstall) + ++if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") ++ set(FREEBSD True) ++endif() + if(NOT APPLE AND NOT WIN32) + install(FILES cura_app.py + DESTINATION ${CMAKE_INSTALL_BINDIR} |
