Cycles: Make all #include statements relative to cycles source directory
[blender.git] / intern / cycles / bvh / CMakeLists.txt
index 131a7a1f750f7545ce9d36ead0063c90200c7923..4701d75350acb724f2c782c1df9dc3a643c8733b 100644 (file)
@@ -1,11 +1,9 @@
 
 set(INC
-       .
-       ../kernel
-       ../kernel/svm
-       ../render
-       ../util
-       ../device
+       ..
+)
+
+set(INC_SYS
 )
 
 set(SRC
@@ -15,6 +13,7 @@ set(SRC
        bvh_node.cpp
        bvh_sort.cpp
        bvh_split.cpp
+       bvh_unaligned.cpp
 )
 
 set(SRC_HEADERS
@@ -25,8 +24,10 @@ set(SRC_HEADERS
        bvh_params.h
        bvh_sort.h
        bvh_split.h
+       bvh_unaligned.h
 )
 
 include_directories(${INC})
+include_directories(SYSTEM ${INC_SYS})
 
 add_library(cycles_bvh ${SRC} ${SRC_HEADERS})