aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-20 12:20:46 +0200
committerDaniel Eklöf <daniel@ekloef.se>2020-09-20 12:21:01 +0200
commitd384b2b902b55f8de9fdbb826175711f4f61547f (patch)
treeefc7460032c23b5935f8e2dd8b3f1b7a4cfa526e /meson.build
parent76a79eeac3f49abb048feeb3a8f349db1fc3adbc (diff)
downloadwbg-d384b2b902b55f8de9fdbb826175711f4f61547f.tar.gz
jpeg: initial support for JPEG images, using libjpeg
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b11ffff..9980dea 100644
--- a/meson.build
+++ b/meson.build
@@ -48,6 +48,7 @@ endif
pixman = dependency('pixman-1')
png = dependency('libpng')
+jpg = dependency('libjpeg')
wayland_protocols = dependency('wayland-protocols')
wayland_client = dependency('wayland-client')
@@ -91,8 +92,9 @@ executable(
'main.c',
'log.c', 'log.h',
'png.c', 'png-wbg.h',
+ 'jpg.c', 'jpg.h',
'shm.c', 'shm.h',
'stride.h',
wl_proto_src + wl_proto_headers, version,
- dependencies: [pixman, png, wayland_client, tllist],
+ dependencies: [pixman, png, jpg, wayland_client, tllist],
install: true)