2020-02-09 11:41:43 +00:00
|
|
|
libpng = dependency('libpng', required: false)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'draw',
|
|
|
|
[
|
|
|
|
'draw.c',
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
neatvnc_dep,
|
|
|
|
pixman,
|
2020-03-16 20:09:22 +00:00
|
|
|
aml,
|
2020-04-08 22:58:14 +00:00
|
|
|
libm,
|
2020-02-09 11:41:43 +00:00
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
if libpng.found()
|
|
|
|
executable(
|
|
|
|
'png-server',
|
|
|
|
[
|
|
|
|
'png-server.c',
|
|
|
|
'../src/pngfb.c',
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
neatvnc_dep,
|
|
|
|
pixman,
|
2020-03-16 20:09:22 +00:00
|
|
|
aml,
|
2020-02-09 11:41:43 +00:00
|
|
|
libpng,
|
|
|
|
]
|
|
|
|
)
|
|
|
|
endif
|