Skip to content

Commit

Permalink
Detect libtiff properly through pkgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 authored and caclark committed Sep 1, 2022
1 parent c5d7536 commit ab73ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ endif
tiff_dep = []
option = get_option('tiff')
if not option.disabled()
tiff_dep = cc.find_library('libtiff', required: get_option('tiff'))
tiff_dep = dependency('libtiff-4', required: get_option('tiff'))
if tiff_dep.found()
if cc.has_function('TIFFClientOpen', dependencies : tiff_dep)
conf_data.set('HAVE_TIFF', 1)
Expand Down

0 comments on commit ab73ca7

Please sign in to comment.