[Bf-blender-cvs] [1552c92fb1e] master: Cycles: Fix Metal BVH crash caused by missing `WITH_METAL` define
Michael Jones
noreply at git.blender.org
Tue Dec 7 22:24:04 CET 2021
Commit: 1552c92fb1e77f55c44627f46692a627923d9027
Author: Michael Jones
Date: Tue Dec 7 21:05:58 2021 +0000
Branches: master
https://developer.blender.org/rB1552c92fb1e77f55c44627f46692a627923d9027
Cycles: Fix Metal BVH crash caused by missing `WITH_METAL` define
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D13505
===================================================================
M intern/cycles/bvh/CMakeLists.txt
===================================================================
diff --git a/intern/cycles/bvh/CMakeLists.txt b/intern/cycles/bvh/CMakeLists.txt
index f275419d13c..b5c80f78f09 100644
--- a/intern/cycles/bvh/CMakeLists.txt
+++ b/intern/cycles/bvh/CMakeLists.txt
@@ -41,6 +41,7 @@ if(WITH_CYCLES_DEVICE_METAL)
list(APPEND SRC
${SRC_METAL}
)
+ add_definitions(-DWITH_METAL)
endif()
set(SRC_HEADERS
More information about the Bf-blender-cvs
mailing list