From ea8ff99dca6a9cca80a211aceb8d8646f92a2ffb Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 7 Aug 2022 00:46:02 +0300 Subject: 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 Tested-by: Eric Curtin Reviewed-by: Eric Curtin Reviewed-by: Kieran Bingham --- src/libcamera/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index b57bee7e..7cc06de4 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -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) -- cgit v1.2.1