ports/graphics/blender/files/patch-CMakeLists.txt
Dima Panov 2be8b8cac9 graphics/blender: update to 3.0.0 release (+)
While blender does support building with python 3.10,
numpy doesn't support 3.10 yet so keep python version at 3.9 for now.

Thumbnailer is now a compiled app instead of py script.
Add options for new features and some that didn't get added earlier .

PR:		260308
Sponsored by:	Netzkommune GmbH.
2022-02-01 20:04:15 +03:00

14 lines
480 B
Text

--- CMakeLists.txt.orig 2019-07-31 13:12:04 UTC
+++ CMakeLists.txt
@@ -705,11 +705,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