Cycles: Remove odd definition from CMake file
[blender.git] / intern / cycles / util / CMakeLists.txt
1
2 set(INC
3         .
4         ../../glew-mx
5 )
6
7 set(INC_SYS
8         ${GLEW_INCLUDE_DIR}
9 )
10
11 set(SRC
12         util_aligned_malloc.cpp
13         util_debug.cpp
14         util_logging.cpp
15         util_math_cdf.cpp
16         util_md5.cpp
17         util_path.cpp
18         util_string.cpp
19         util_simd.cpp
20         util_system.cpp
21         util_task.cpp
22         util_thread.cpp
23         util_time.cpp
24         util_transform.cpp
25         util_windows.cpp
26 )
27
28 if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
29         list(APPEND SRC
30                 util_view.cpp
31         )
32 endif()
33
34 set(SRC_HEADERS
35         util_algorithm.h
36         util_aligned_malloc.h
37         util_args.h
38         util_atomic.h
39         util_boundbox.h
40         util_debug.h
41         util_guarded_allocator.cpp
42         util_foreach.h
43         util_function.h
44         util_guarded_allocator.h
45         util_half.h
46         util_hash.h
47         util_image.h
48         util_list.h
49         util_logging.h
50         util_map.h
51         util_math.h
52         util_math_cdf.h
53         util_math_fast.h
54         util_md5.h
55         util_opengl.h
56         util_optimization.h
57         util_param.h
58         util_path.h
59         util_progress.h
60         util_queue.h
61         util_set.h
62         util_simd.h
63         util_sky_model.cpp
64         util_sky_model.h
65         util_sky_model_data.h
66         util_sseb.h
67         util_ssef.h
68         util_ssei.h
69         util_stack_allocator.h
70         util_static_assert.h
71         util_stats.h
72         util_string.h
73         util_system.h
74         util_task.h
75         util_texture.h
76         util_thread.h
77         util_time.h
78         util_transform.h
79         util_types.h
80         util_vector.h
81         util_version.h
82         util_view.h
83         util_windows.h
84         util_xml.h
85 )
86
87 include_directories(${INC})
88 include_directories(SYSTEM ${INC_SYS})
89
90 add_definitions(${GL_DEFINITIONS})
91
92 add_library(cycles_util ${SRC} ${SRC_HEADERS})