diff options
Diffstat (limited to 'intern/cycles/bvh/CMakeLists.txt')
-rw-r--r-- | intern/cycles/bvh/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/intern/cycles/bvh/CMakeLists.txt b/intern/cycles/bvh/CMakeLists.txt index cdaa6628be2..f275419d13c 100644 --- a/intern/cycles/bvh/CMakeLists.txt +++ b/intern/cycles/bvh/CMakeLists.txt @@ -31,9 +31,18 @@ set(SRC sort.cpp split.cpp unaligned.cpp +) + +set(SRC_METAL metal.mm ) +if(WITH_CYCLES_DEVICE_METAL) + list(APPEND SRC + ${SRC_METAL} + ) +endif() + set(SRC_HEADERS bvh.h bvh2.h |