summaryrefslogtreecommitdiff
path: root/libre/blender/force-draco1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender/force-draco1.patch')
-rw-r--r--libre/blender/force-draco1.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/blender/force-draco1.patch b/libre/blender/force-draco1.patch
new file mode 100644
index 000000000..4a8b63878
--- /dev/null
+++ b/libre/blender/force-draco1.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 75f5795db68..d50686adfb0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -754,10 +754,6 @@ endif()
+ set_and_warn_dependency(WITH_PYTHON WITH_CYCLES OFF)
+ set_and_warn_dependency(WITH_PYTHON WITH_DRACO OFF)
+
+-if(WITH_DRACO AND NOT WITH_PYTHON_INSTALL)
+- message(STATUS "WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now")
+- set(WITH_DRACO OFF)
+-endif()
+
+ # enable boost for cycles, audaspace or i18n
+ # otherwise if the user disabled