Commit 3eaa57a7 authored by unrelentingtech's avatar unrelentingtech Committed by Pekka Paalanen
Browse files

build: use pkg-config to find libjpeg in meson

Signed-off-by: unrelentingtech's avatarGreg V <>
parent f0ba93c1
......@@ -43,7 +43,11 @@ if dep_pango.found() and dep_pangocairo.found() and dep_glib.found()
if get_option('image-jpeg')
deps_cairo_shared += cc.find_library('jpeg')
dep_libjpeg = dependency('libjpeg', required: false)
if not dep_libjpeg.found()
dep_libjpeg = cc.find_library('jpeg')
deps_cairo_shared += dep_libjpeg
config_h.set('HAVE_JPEG', '1')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment