Cycles: Make all #include statements relative to cycles source directory
[blender.git] / intern / cycles / bvh / CMakeLists.txt
index decc576fe51e393c3874317c5d58a48b7cd4feae..4701d75350acb724f2c782c1df9dc3a643c8733b 100644 (file)
@@ -1,28 +1,33 @@
 
 set(INC
-       .
-       ../kernel
-       ../kernel/svm
-       ../render
-       ../util
-       ../device
+       ..
+)
+
+set(INC_SYS
 )
 
 set(SRC
        bvh.cpp
+       bvh_binning.cpp
        bvh_build.cpp
        bvh_node.cpp
        bvh_sort.cpp
+       bvh_split.cpp
+       bvh_unaligned.cpp
 )
 
 set(SRC_HEADERS
        bvh.h
+       bvh_binning.h
        bvh_build.h
        bvh_node.h
        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})