From patchwork Thu May 7 14:48:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne X-Patchwork-Id: 3701 Return-Path: Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EFA9B603EA for ; Thu, 7 May 2020 16:52:30 +0200 (CEST) Received: from nicolas-tpx395.localdomain (unknown [IPv6:2002:c0de:c115:0:66fc:8b:2a38:8313]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id D0DDC2A027E; Thu, 7 May 2020 15:52:29 +0100 (BST) From: Nicolas Dufresne To: libcamera-devel@lists.libcamera.org Cc: Nicolas Dufresne Date: Thu, 7 May 2020 10:48:52 -0400 Message-Id: <20200507144852.178299-1-nicolas@ndufresne.ca> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] pkgconfig: Fix include directory path X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 14:52:31 -0000 From: Nicolas Dufresne Should be $includedir/libcamera, as we install into a subdirectory name 'libcamera'. This is fixed by passing the 'subdirs' argument to the pkgconfig generator. Signed-off-by: Nicolas Dufresne Reviewed-by: Laurent Pinchart Acked-by: Kieran Bingham --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6c571a1..59829e1 100644 --- a/meson.build +++ b/meson.build @@ -116,4 +116,5 @@ pkg_mod.generate(libraries : libcamera, version : '1.0', name : 'libcamera', filebase : 'camera', - description : 'Complex Camera Support Library') + description : 'Complex Camera Support Library', + subdirs : 'libcamera')