aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb
diff options
context:
space:
mode:
authorPeter Bergin <peter@berginkonsult.se>2021-06-11 17:09:47 +0200
committerKhem Raj <raj.khem@gmail.com>2021-06-11 08:55:33 -0700
commitd03e76e2884c7af1075b42c09781f67e93bea51c (patch)
tree96e9b4bf7e57276f8ecea4ab58cf60d941a65c61 /meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb
parent711e932b14de57a5f341124470b2f3f131615a25 (diff)
downloadmeta-openembedded-d03e76e2884c7af1075b42c09781f67e93bea51c.tar.gz
meta-openembedded-d03e76e2884c7af1075b42c09781f67e93bea51c.tar.bz2
meta-openembedded-d03e76e2884c7af1075b42c09781f67e93bea51c.zip
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 <peter@berginkonsult.se> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb')
-rw-r--r--meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb3
1 files changed, 2 insertions, 1 deletions
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 29f8de8d2..a41888802 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"