libcamera: meson: Use dependency() to find gnutls
The gnutls library ships a pkgconfig .pc file. Use the standard dependency() method to locate it, instead of cc.find_library(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Eric Curtin <ecurtin@redhat.com> Reviewed-by: Eric Curtin <ecurtin@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
09c1b081ba
commit
ea8ff99dca
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ subdir('pipeline')
|
|||
subdir('proxy')
|
||||
|
||||
libdl = cc.find_library('dl')
|
||||
libgnutls = cc.find_library('gnutls', required : true)
|
||||
libgnutls = dependency('gnutls', required : true)
|
||||
libudev = dependency('libudev', required : false)
|
||||
libyaml = dependency('yaml-0.1', required : false)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue