cmake was missing some header files.
[blender.git] / intern / cycles / util / CMakeLists.txt
1
2 set(INC
3         .
4 )
5
6 set(INC_SYS
7         ${GLEW_INCLUDE_PATH}
8         ${OPENGL_INCLUDE_DIR}
9 )
10
11 set(SRC
12         util_attribute.cpp
13         util_cache.cpp
14         util_cuda.cpp
15         util_dynlib.cpp
16         util_md5.cpp
17         util_memarena.cpp
18         util_opencl.cpp
19         util_path.cpp
20         util_string.cpp
21         util_system.cpp
22         util_task.cpp
23         util_time.cpp
24         util_transform.cpp
25 )
26
27 if(WITH_CYCLES_TEST)
28         list(APPEND SRC
29                 util_view.cpp
30         )
31 endif()
32
33 set(SRC_HEADERS
34         util_algorithm.h
35         util_args.h
36         util_attribute.h
37         util_boundbox.h
38         util_cache.h
39         util_cuda.h
40         util_debug.h
41         util_dynlib.h
42         util_foreach.h
43         util_function.h
44         util_hash.h
45         util_image.h
46         util_list.h
47         util_map.h
48         util_math.h
49         util_md5.h
50         util_memarena.h
51         util_opencl.h
52         util_opengl.h
53         util_param.h
54         util_path.h
55         util_progress.h
56         util_set.h
57         util_stats.h
58         util_string.h
59         util_system.h
60         util_task.h
61         util_thread.h
62         util_time.h
63         util_transform.h
64         util_types.h
65         util_vector.h
66         util_view.h
67         util_xml.h
68 )
69
70 include_directories(${INC})
71 include_directories(SYSTEM ${INC_SYS})
72
73 add_library(cycles_util ${SRC} ${SRC_HEADERS})