graphics/blender: Fix build when CYCLESOSL is off

PR:		249184
Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)
This commit is contained in:
Li-Wen Hsu 2020-09-08 17:01:18 +00:00
parent e59ff60f67
commit c2f8dedf39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547993
2 changed files with 12 additions and 0 deletions

View File

@ -76,6 +76,7 @@ COLLADA_USES= gnome
COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR
CYCLES_IMPLIES= OPENIMAGEIO
CYCLES_CMAKE_BOOL= WITH_CYCLES
CYCLES_LIB_DEPENDS= libpugixml.so:textproc/pugixml
CYCLESEMBR_IMPLIES= CYCLES
CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE
CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree

View File

@ -0,0 +1,11 @@
--- build_files/cmake/Modules/FindPythonLibsUnix.cmake.orig 2020-09-07 10:17:41 UTC
+++ build_files/cmake/Modules/FindPythonLibsUnix.cmake
@@ -34,7 +34,7 @@ IF(NOT PYTHON_ROOT_DIR AND NOT $ENV{PYTHON_ROOT_DIR} S
SET(PYTHON_ROOT_DIR $ENV{PYTHON_ROOT_DIR})
ENDIF()
-SET(PYTHON_VERSION 3.7 CACHE STRING "Python Version (major and minor only)")
+SET(PYTHON_VERSION 3.8 CACHE STRING "Python Version (major and minor only)")
MARK_AS_ADVANCED(PYTHON_VERSION)