Mercurial > hg > orthanc-stone
annotate OrthancStone/Resources/CMake/CairoConfiguration.cmake @ 2130:ed2c704b1119 StoneWebViewer-2.1
closing StoneWebViewer-2.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 May 2024 17:08:23 +0200 |
parents | 9ac2a65d4172 |
children | 3889ae96d2e9 |
rev | line source |
---|---|
47 | 1 # Stone of Orthanc |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
1739
9ac2a65d4172
upgrade to year 2021
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1598
diff
changeset
|
4 # Copyright (C) 2017-2021 Osimis S.A., Belgium |
47 | 5 # |
6 # This program is free software: you can redistribute it and/or | |
1598
8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1597
diff
changeset
|
7 # modify it under the terms of the GNU Lesser General Public License |
47 | 8 # as published by the Free Software Foundation, either version 3 of |
9 # the License, or (at your option) any later version. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, but | |
12 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
1598
8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1597
diff
changeset
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1597
diff
changeset
|
14 # Lesser General Public License for more details. |
1597
f9e3a9c21c0f
removed annoying whitespace
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1512
diff
changeset
|
15 # |
1598
8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1597
diff
changeset
|
16 # You should have received a copy of the GNU Lesser General Public |
8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1597
diff
changeset
|
17 # License along with this program. If not, see |
8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1597
diff
changeset
|
18 # <http://www.gnu.org/licenses/>. |
47 | 19 |
20 | |
0 | 21 # ./configure --disable-pdf --disable-svg --disable-xlib --disable-xcb --disable-script --disable-ps --disable-ft --disable-fc --disable-png --disable-trace --disable-interpreter |
22 | |
23 | |
24 if (STATIC_BUILD OR NOT USE_SYSTEM_CAIRO) | |
171
01e32beee56c
upgrade to cairo 1.14.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
135
diff
changeset
|
25 SET(CAIRO_SOURCES_DIR ${CMAKE_BINARY_DIR}/cairo-1.14.12) |
449
bb658baeb967
moving third-party dependencies to another server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
439
diff
changeset
|
26 SET(CAIRO_URL "http://orthanc.osimis.io/ThirdPartyDownloads/cairo-1.14.12.tar.xz") |
171
01e32beee56c
upgrade to cairo 1.14.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
135
diff
changeset
|
27 SET(CAIRO_MD5 "9f0db9dbfca0966be8acd682e636d165") |
0 | 28 |
29 DownloadPackage(${CAIRO_MD5} ${CAIRO_URL} "${CAIRO_SOURCES_DIR}") | |
30 | |
31 file(COPY | |
32 ${CMAKE_CURRENT_LIST_DIR}/cairo-features.h | |
33 DESTINATION ${CAIRO_SOURCES_DIR}/src | |
34 ) | |
35 | |
36 set(CAIRO_SOURCES | |
37 ${CAIRO_SOURCES_DIR}/src/cairo-analysis-surface.c | |
38 ${CAIRO_SOURCES_DIR}/src/cairo-arc.c | |
39 ${CAIRO_SOURCES_DIR}/src/cairo-array.c | |
40 ${CAIRO_SOURCES_DIR}/src/cairo-atomic.c | |
41 ${CAIRO_SOURCES_DIR}/src/cairo-base64-stream.c | |
42 ${CAIRO_SOURCES_DIR}/src/cairo-base85-stream.c | |
43 ${CAIRO_SOURCES_DIR}/src/cairo-bentley-ottmann.c | |
44 ${CAIRO_SOURCES_DIR}/src/cairo-bentley-ottmann-rectangular.c | |
45 ${CAIRO_SOURCES_DIR}/src/cairo-bentley-ottmann-rectilinear.c | |
46 ${CAIRO_SOURCES_DIR}/src/cairo-botor-scan-converter.c | |
47 ${CAIRO_SOURCES_DIR}/src/cairo-boxes.c | |
48 ${CAIRO_SOURCES_DIR}/src/cairo-boxes-intersect.c | |
49 ${CAIRO_SOURCES_DIR}/src/cairo.c | |
50 ${CAIRO_SOURCES_DIR}/src/cairo-cache.c | |
51 ${CAIRO_SOURCES_DIR}/src/cairo-cff-subset.c | |
52 ${CAIRO_SOURCES_DIR}/src/cairo-clip-boxes.c | |
53 ${CAIRO_SOURCES_DIR}/src/cairo-clip.c | |
54 ${CAIRO_SOURCES_DIR}/src/cairo-clip-polygon.c | |
55 ${CAIRO_SOURCES_DIR}/src/cairo-clip-region.c | |
56 ${CAIRO_SOURCES_DIR}/src/cairo-clip-surface.c | |
57 ${CAIRO_SOURCES_DIR}/src/cairo-clip-tor-scan-converter.c | |
58 # ${CAIRO_SOURCES_DIR}/src/cairo-cogl-context.c | |
59 # ${CAIRO_SOURCES_DIR}/src/cairo-cogl-gradient.c | |
60 # ${CAIRO_SOURCES_DIR}/src/cairo-cogl-surface.c | |
61 # ${CAIRO_SOURCES_DIR}/src/cairo-cogl-utils.c | |
62 ${CAIRO_SOURCES_DIR}/src/cairo-color.c | |
63 ${CAIRO_SOURCES_DIR}/src/cairo-composite-rectangles.c | |
64 ${CAIRO_SOURCES_DIR}/src/cairo-compositor.c | |
65 ${CAIRO_SOURCES_DIR}/src/cairo-contour.c | |
66 ${CAIRO_SOURCES_DIR}/src/cairo-damage.c | |
67 ${CAIRO_SOURCES_DIR}/src/cairo-debug.c | |
68 ${CAIRO_SOURCES_DIR}/src/cairo-default-context.c | |
69 ${CAIRO_SOURCES_DIR}/src/cairo-deflate-stream.c | |
70 ${CAIRO_SOURCES_DIR}/src/cairo-device.c | |
71 # ${CAIRO_SOURCES_DIR}/src/cairo-directfb-surface.c | |
72 # ${CAIRO_SOURCES_DIR}/src/cairo-egl-context.c | |
73 ${CAIRO_SOURCES_DIR}/src/cairo-error.c | |
74 ${CAIRO_SOURCES_DIR}/src/cairo-fallback-compositor.c | |
75 ${CAIRO_SOURCES_DIR}/src/cairo-fixed.c | |
76 ${CAIRO_SOURCES_DIR}/src/cairo-font-face.c | |
77 ${CAIRO_SOURCES_DIR}/src/cairo-font-face-twin.c | |
78 ${CAIRO_SOURCES_DIR}/src/cairo-font-face-twin-data.c | |
79 ${CAIRO_SOURCES_DIR}/src/cairo-font-options.c | |
80 ${CAIRO_SOURCES_DIR}/src/cairo-freed-pool.c | |
81 ${CAIRO_SOURCES_DIR}/src/cairo-freelist.c | |
82 # ${CAIRO_SOURCES_DIR}/src/cairo-ft-font.c | |
83 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-composite.c | |
84 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-device.c | |
85 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-dispatch.c | |
86 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-glyphs.c | |
87 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-gradient.c | |
88 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-info.c | |
89 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-msaa-compositor.c | |
90 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-operand.c | |
91 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-shaders.c | |
92 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-source.c | |
93 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-spans-compositor.c | |
94 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-surface.c | |
95 # ${CAIRO_SOURCES_DIR}/src/cairo-gl-traps-compositor.c | |
96 # ${CAIRO_SOURCES_DIR}/src/cairo-glx-context.c | |
97 ${CAIRO_SOURCES_DIR}/src/cairo-gstate.c | |
98 ${CAIRO_SOURCES_DIR}/src/cairo-hash.c | |
99 ${CAIRO_SOURCES_DIR}/src/cairo-hull.c | |
100 ${CAIRO_SOURCES_DIR}/src/cairo-image-compositor.c | |
101 ${CAIRO_SOURCES_DIR}/src/cairo-image-info.c | |
102 ${CAIRO_SOURCES_DIR}/src/cairo-image-source.c | |
103 ${CAIRO_SOURCES_DIR}/src/cairo-image-surface.c | |
104 ${CAIRO_SOURCES_DIR}/src/cairo-line.c | |
105 ${CAIRO_SOURCES_DIR}/src/cairo-lzw.c | |
106 ${CAIRO_SOURCES_DIR}/src/cairo-mask-compositor.c | |
107 ${CAIRO_SOURCES_DIR}/src/cairo-matrix.c | |
108 ${CAIRO_SOURCES_DIR}/src/cairo-mempool.c | |
109 ${CAIRO_SOURCES_DIR}/src/cairo-mesh-pattern-rasterizer.c | |
110 ${CAIRO_SOURCES_DIR}/src/cairo-misc.c | |
111 ${CAIRO_SOURCES_DIR}/src/cairo-mono-scan-converter.c | |
112 ${CAIRO_SOURCES_DIR}/src/cairo-mutex.c | |
113 ${CAIRO_SOURCES_DIR}/src/cairo-no-compositor.c | |
114 ${CAIRO_SOURCES_DIR}/src/cairo-observer.c | |
115 # ${CAIRO_SOURCES_DIR}/src/cairo-os2-surface.c | |
116 ${CAIRO_SOURCES_DIR}/src/cairo-output-stream.c | |
117 ${CAIRO_SOURCES_DIR}/src/cairo-paginated-surface.c | |
118 ${CAIRO_SOURCES_DIR}/src/cairo-path-bounds.c | |
119 ${CAIRO_SOURCES_DIR}/src/cairo-path.c | |
120 ${CAIRO_SOURCES_DIR}/src/cairo-path-fill.c | |
121 ${CAIRO_SOURCES_DIR}/src/cairo-path-fixed.c | |
122 ${CAIRO_SOURCES_DIR}/src/cairo-path-in-fill.c | |
123 ${CAIRO_SOURCES_DIR}/src/cairo-path-stroke-boxes.c | |
124 ${CAIRO_SOURCES_DIR}/src/cairo-path-stroke.c | |
125 ${CAIRO_SOURCES_DIR}/src/cairo-path-stroke-polygon.c | |
126 ${CAIRO_SOURCES_DIR}/src/cairo-path-stroke-traps.c | |
127 ${CAIRO_SOURCES_DIR}/src/cairo-path-stroke-tristrip.c | |
128 ${CAIRO_SOURCES_DIR}/src/cairo-pattern.c | |
129 # ${CAIRO_SOURCES_DIR}/src/cairo-pdf-operators.c | |
130 # ${CAIRO_SOURCES_DIR}/src/cairo-pdf-shading.c | |
131 # ${CAIRO_SOURCES_DIR}/src/cairo-pdf-surface.c | |
132 ${CAIRO_SOURCES_DIR}/src/cairo-pen.c | |
133 # ${CAIRO_SOURCES_DIR}/src/cairo-png.c | |
134 ${CAIRO_SOURCES_DIR}/src/cairo-polygon.c | |
135 ${CAIRO_SOURCES_DIR}/src/cairo-polygon-intersect.c | |
136 ${CAIRO_SOURCES_DIR}/src/cairo-polygon-reduce.c | |
137 # ${CAIRO_SOURCES_DIR}/src/cairo-ps-surface.c | |
138 # ${CAIRO_SOURCES_DIR}/src/cairo-quartz-font.c | |
139 # ${CAIRO_SOURCES_DIR}/src/cairo-quartz-image-surface.c | |
140 # ${CAIRO_SOURCES_DIR}/src/cairo-quartz-surface.c | |
141 ${CAIRO_SOURCES_DIR}/src/cairo-raster-source-pattern.c | |
142 ${CAIRO_SOURCES_DIR}/src/cairo-recording-surface.c | |
143 ${CAIRO_SOURCES_DIR}/src/cairo-rectangle.c | |
144 ${CAIRO_SOURCES_DIR}/src/cairo-rectangular-scan-converter.c | |
145 ${CAIRO_SOURCES_DIR}/src/cairo-region.c | |
146 ${CAIRO_SOURCES_DIR}/src/cairo-rtree.c | |
147 ${CAIRO_SOURCES_DIR}/src/cairo-scaled-font.c | |
148 ${CAIRO_SOURCES_DIR}/src/cairo-scaled-font-subsets.c | |
149 # ${CAIRO_SOURCES_DIR}/src/cairo-script-surface.c | |
150 ${CAIRO_SOURCES_DIR}/src/cairo-shape-mask-compositor.c | |
151 ${CAIRO_SOURCES_DIR}/src/cairo-slope.c | |
152 ${CAIRO_SOURCES_DIR}/src/cairo-spans.c | |
153 ${CAIRO_SOURCES_DIR}/src/cairo-spans-compositor.c | |
154 ${CAIRO_SOURCES_DIR}/src/cairo-spline.c | |
155 ${CAIRO_SOURCES_DIR}/src/cairo-stroke-dash.c | |
156 ${CAIRO_SOURCES_DIR}/src/cairo-stroke-style.c | |
157 ${CAIRO_SOURCES_DIR}/src/cairo-surface.c | |
158 ${CAIRO_SOURCES_DIR}/src/cairo-surface-clipper.c | |
159 ${CAIRO_SOURCES_DIR}/src/cairo-surface-fallback.c | |
160 ${CAIRO_SOURCES_DIR}/src/cairo-surface-observer.c | |
161 ${CAIRO_SOURCES_DIR}/src/cairo-surface-offset.c | |
162 ${CAIRO_SOURCES_DIR}/src/cairo-surface-snapshot.c | |
163 ${CAIRO_SOURCES_DIR}/src/cairo-surface-subsurface.c | |
164 ${CAIRO_SOURCES_DIR}/src/cairo-surface-wrapper.c | |
165 # ${CAIRO_SOURCES_DIR}/src/cairo-svg-surface.c | |
166 # ${CAIRO_SOURCES_DIR}/src/cairo-tee-surface.c | |
167 ${CAIRO_SOURCES_DIR}/src/cairo-time.c | |
168 ${CAIRO_SOURCES_DIR}/src/cairo-tor22-scan-converter.c | |
169 ${CAIRO_SOURCES_DIR}/src/cairo-tor-scan-converter.c | |
170 ${CAIRO_SOURCES_DIR}/src/cairo-toy-font-face.c | |
171 ${CAIRO_SOURCES_DIR}/src/cairo-traps.c | |
172 ${CAIRO_SOURCES_DIR}/src/cairo-traps-compositor.c | |
173 ${CAIRO_SOURCES_DIR}/src/cairo-tristrip.c | |
174 ${CAIRO_SOURCES_DIR}/src/cairo-truetype-subset.c | |
175 ${CAIRO_SOURCES_DIR}/src/cairo-type1-fallback.c | |
176 ${CAIRO_SOURCES_DIR}/src/cairo-type1-glyph-names.c | |
177 ${CAIRO_SOURCES_DIR}/src/cairo-type1-subset.c | |
178 ${CAIRO_SOURCES_DIR}/src/cairo-type3-glyph-surface.c | |
179 ${CAIRO_SOURCES_DIR}/src/cairo-unicode.c | |
180 ${CAIRO_SOURCES_DIR}/src/cairo-user-font.c | |
181 ${CAIRO_SOURCES_DIR}/src/cairo-version.c | |
182 # ${CAIRO_SOURCES_DIR}/src/cairo-vg-surface.c | |
183 # ${CAIRO_SOURCES_DIR}/src/cairo-wgl-context.c | |
184 ${CAIRO_SOURCES_DIR}/src/cairo-wideint.c | |
185 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-connection.c | |
186 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-connection-core.c | |
187 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-connection-render.c | |
188 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-connection-shm.c | |
189 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-resources.c | |
190 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-screen.c | |
191 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-shm.c | |
192 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-surface.c | |
193 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-surface-core.c | |
194 # ${CAIRO_SOURCES_DIR}/src/cairo-xcb-surface-render.c | |
195 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-core-compositor.c | |
196 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-display.c | |
197 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-fallback-compositor.c | |
198 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-render-compositor.c | |
199 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-screen.c | |
200 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-source.c | |
201 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-surface.c | |
202 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-surface-shm.c | |
203 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-visual.c | |
204 # ${CAIRO_SOURCES_DIR}/src/cairo-xlib-xcb-surface.c | |
205 # ${CAIRO_SOURCES_DIR}/src/cairo-xml-surface.c | |
206 ) | |
207 | |
208 include_directories(${CAIRO_SOURCES_DIR}/src) | |
209 | |
210 set(CAIRO_DEFINITIONS "HAS_PIXMAN_GLYPHS=1") | |
211 | |
3
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
212 if (${CMAKE_SYSTEM_NAME} STREQUAL "PNaCl") |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
213 # Disable vectorized instructions when targeting archicture-independent PNaCl |
0 | 214 set(CAIRO_DEFINITIONS "${CAIRO_DEFINITIONS};HAVE_STDINT_H=1;CAIRO_HAS_PTHREAD=1;HAVE_UINT64_T=1") |
215 | |
263
38c795cc7c48
primitives for android ndk
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
196
diff
changeset
|
216 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten" OR |
38c795cc7c48
primitives for android ndk
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
196
diff
changeset
|
217 ${CMAKE_SYSTEM_NAME} STREQUAL "Android") |
39 | 218 # Disable vectorized instructions and threading if targeting asm.js |
219 set(CAIRO_DEFINITIONS "${CAIRO_DEFINITIONS};HAVE_STDINT_H=1;CAIRO_HAS_PTHREAD=0;CAIRO_NO_MUTEX=1;HAVE_UINT64_T=1") | |
220 | |
3
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
221 elseif (CMAKE_COMPILER_IS_GNUCXX OR |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
222 CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
223 |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
224 set(CAIRO_DEFINITIONS "${CAIRO_DEFINITIONS};HAVE_STDINT_H=1;CAIRO_HAS_PTHREAD=1;HAVE_UINT64_T=1;CAIRO_HAS_REAL_PTHREAD=1;HAVE_GCC_VECTOR_EXTENSIONS;HAVE_FLOAT128") |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
225 |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
226 if (CMAKE_COMPILER_IS_GNUCXX) |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
227 set_property( |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
228 SOURCE ${CAIRO_SOURCES} |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
229 PROPERTY COMPILE_FLAGS "-Wno-attributes" |
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
230 ) |
0 | 231 endif() |
232 | |
233 elseif (MSVC) | |
3
490347621f42
attempt to build for OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
0
diff
changeset
|
234 # The cairo source code comes with built-in support for Visual Studio |
0 | 235 |
236 else() | |
237 message(FATAL_ERROR "Support your platform here") | |
238 | |
239 endif() | |
240 | |
24 | 241 |
242 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | |
243 # Explicitly request static building on Windows | |
244 add_definitions(-DCAIRO_WIN32_STATIC_BUILD=1) | |
245 endif() | |
246 | |
247 | |
0 | 248 set_property( |
249 SOURCE ${CAIRO_SOURCES} | |
250 PROPERTY COMPILE_DEFINITIONS "${CAIRO_DEFINITIONS}" | |
251 ) | |
252 | |
253 else() | |
254 | |
255 pkg_search_module(CAIRO REQUIRED cairo) | |
256 include_directories(${CAIRO_INCLUDE_DIRS}) | |
257 link_libraries(${CAIRO_LIBRARIES}) | |
258 endif() |