Cycles: Fix Metal BVH crash caused by missing `WITH_METAL` define

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13505
This commit is contained in:
Michael Jones (Apple) 2021-12-07 21:05:58 +00:00
parent 5568455d63
commit 1552c92fb1
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ if(WITH_CYCLES_DEVICE_METAL)
list(APPEND SRC
${SRC_METAL}
)
add_definitions(-DWITH_METAL)
endif()
set(SRC_HEADERS