Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/bvh/CMakeLists.txt')
-rw-r--r--intern/cycles/bvh/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/intern/cycles/bvh/CMakeLists.txt b/intern/cycles/bvh/CMakeLists.txt
index 9edc30cf9c4..b5c80f78f09 100644
--- a/intern/cycles/bvh/CMakeLists.txt
+++ b/intern/cycles/bvh/CMakeLists.txt
@@ -33,6 +33,17 @@ set(SRC
unaligned.cpp
)
+set(SRC_METAL
+ metal.mm
+)
+
+if(WITH_CYCLES_DEVICE_METAL)
+ list(APPEND SRC
+ ${SRC_METAL}
+ )
+ add_definitions(-DWITH_METAL)
+endif()
+
set(SRC_HEADERS
bvh.h
bvh2.h
@@ -46,6 +57,7 @@ set(SRC_HEADERS
sort.h
split.h
unaligned.h
+ metal.h
)
set(LIB