diff options
author | pommicket <pommicket@gmail.com> | 2025-02-20 11:16:17 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-02-20 11:16:17 -0500 |
commit | ac07499111c726c34bf2b9eab3d348e2fc591b63 (patch) | |
tree | 031c9ad2fb4edd96e626038a84c66ca71c213fe3 /meson.build | |
parent | e19574ce7766cd754b42808c36cc88fd0f510033 (diff) |
switch to libjpeg
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build index e80b578..cbcb06b 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,7 @@ udev = dependency('libudev') gl = dependency('GL') sodium = dependency('libsodium') fontconfig = dependency('fontconfig') +jpeg = dependency('libjpeg') m_dep = cc.find_library('m', required: false) if m_dep.found() add_project_link_arguments('-lm', language: 'c') @@ -21,6 +22,6 @@ if get_option('debug') else debug_def = '-DDEBUG=0' endif -executable('camlet', 'main.c', 'camera.c', '3rd_party/stb_image_write.c', '3rd_party/stb_image.c', - dependencies: [v4l2, sdl2, sdl2_ttf, gl, udev, sodium, fontconfig], +executable('camlet', 'main.c', 'camera.c', '3rd_party/stb_image_write.c', + dependencies: [v4l2, sdl2, sdl2_ttf, gl, udev, sodium, fontconfig, jpeg], c_args: ['-Wno-unused-function', '-Wno-format-truncation', '-Wshadow', debug_def]) |