From d03e76e2884c7af1075b42c09781f67e93bea51c Mon Sep 17 00:00:00 2001 From: Peter Bergin Date: Fri, 11 Jun 2021 17:09:47 +0200 Subject: hiredis: add cmake config file for pkgconfig In order to be able to use pkgconfig and find_package in cmake the file HiredisConfig.cmake need to be present in sysroot. This commit adds a patch from Ubuntu/Debian that fixes this. As build system for version 0.14 of Hiredis is Makefile based this is not possible to upstream. In later Hiredis the build system is CMake based and this is fixed. Signed-off-by: Peter Bergin Signed-off-by: Khem Raj --- meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb') diff --git a/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb b/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb index 29f8de8d2f..a41888802f 100644 --- a/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb +++ b/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb @@ -7,7 +7,8 @@ DEPENDS = "redis" LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51" SRCREV = "685030652cd98c5414ce554ff5b356dfe8437870" SRC_URI = "git://github.com/redis/hiredis;protocol=git \ - file://0001-Makefile-remove-hardcoding-of-CC.patch" + file://0001-Makefile-remove-hardcoding-of-CC.patch \ + file://0001-CMake-configuration-for-hiredis.patch" S = "${WORKDIR}/git" -- cgit 1.2.3-korg