diff options
author | Michael Jones <michael_p_jones@apple.com> | 2021-12-08 00:05:58 +0300 |
---|---|---|
committer | Michael Jones <michael_p_jones@apple.com> | 2021-12-08 00:23:52 +0300 |
commit | 1552c92fb1e77f55c44627f46692a627923d9027 (patch) | |
tree | 29dea2302cdf885a92641bf0571e45c4b5fcd903 | |
parent | 5568455d63a2c04c468e4c67358ecf9679e70749 (diff) |
Cycles: Fix Metal BVH crash caused by missing `WITH_METAL` define
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D13505
-rw-r--r-- | intern/cycles/bvh/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |