Cycles: Make all #include statements relative to cycles source directory
[blender.git] / intern / cycles / bvh / CMakeLists.txt
1
2 set(INC
3         ..
4 )
5
6 set(INC_SYS
7 )
8
9 set(SRC
10         bvh.cpp
11         bvh_binning.cpp
12         bvh_build.cpp
13         bvh_node.cpp
14         bvh_sort.cpp
15         bvh_split.cpp
16         bvh_unaligned.cpp
17 )
18
19 set(SRC_HEADERS
20         bvh.h
21         bvh_binning.h
22         bvh_build.h
23         bvh_node.h
24         bvh_params.h
25         bvh_sort.h
26         bvh_split.h
27         bvh_unaligned.h
28 )
29
30 include_directories(${INC})
31 include_directories(SYSTEM ${INC_SYS})
32
33 add_library(cycles_bvh ${SRC} ${SRC_HEADERS})