ports/graphics/blender/files/patch-CMakeLists.txt
Shane 12fd1e2633 graphics/blender: update 4.1.1 → 4.2.0
4.2 LTS: Long term support release, maintained until July 2026.

Release information:
https://www.blender.org/download/releases/4-2/
https://developer.blender.org/docs/release_notes/4.2/
https://projects.blender.org/blender/blender/milestone/19

Add patch to allow build and work on generic amd64 with SSE2 only
because upstream change target platform to x86-64-v2:
"Hardware Requirements
On Windows and Linux a CPU with SSE4.2 is now required. This is
supported since AMD Bulldozer (2011) and Intel Nehalem (2008)."
https://developer.blender.org/docs/release_notes/4.2/#compatibility
https://projects.blender.org/blender/blender/issues/116592

PR:		280459
Tested by:	vvd
2024-08-12 04:25:58 +03:00

14 lines
529 B
Text

--- CMakeLists.txt.orig 2024-07-04 15:30:32 UTC
+++ CMakeLists.txt
@@ -1197,11 +1197,6 @@ set_and_warn_dependency(WITH_PYTHON WITH_MOD_FLUID
set_and_warn_dependency(WITH_PYTHON WITH_DRACO OFF)
set_and_warn_dependency(WITH_PYTHON WITH_MOD_FLUID 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