I swear, it was just an innocence change in guardedalloc!
[blender.git] / source / blender / editors / space_image / CMakeLists.txt
1 # $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 #
18 # Contributor(s): Jacques Beaurain.
19 #
20 # ***** END GPL LICENSE BLOCK *****
21
22 set(INC
23         ../include
24         ../../blenfont
25         ../../blenkernel
26         ../../blenloader
27         ../../blenlib
28         ../../imbuf
29         ../../makesdna
30         ../../makesrna
31         ../../windowmanager
32         ../../render/extern/include
33         ../../../../intern/guardedalloc
34 )
35
36 set(SRC
37         image_buttons.c
38         image_draw.c
39         image_header.c
40         image_ops.c
41         image_render.c
42         space_image.c
43
44         image_intern.h
45 )
46
47 if(WITH_IMAGE_OPENJPEG)
48         add_definitions(-DWITH_OPENJPEG)
49 endif()
50
51 if(WITH_IMAGE_OPENEXR)
52         add_definitions(-DWITH_OPENEXR)
53 endif()
54
55 if(WITH_IMAGE_TIFF)
56         add_definitions(-DWITH_TIFF)
57 endif()
58
59 if(WITH_IMAGE_CINEON)
60         add_definitions(-DWITH_CINEON)
61 endif()
62
63 if(WITH_LCMS)
64         set(INC ${INC} ${LCMS_INCLUDE_DIR})
65         add_definitions(-DWITH_LCMS)
66 endif()
67
68 blender_add_lib(bf_editor_space_image "${SRC}" "${INC}")