summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
diff options
context:
space:
mode:
authorMoritz Haase <Moritz.Haase@bmw.de>2025-07-14 13:26:29 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-15 00:25:29 -0700
commit854a178ac26429111f2d1d18c8406ef77c423344 (patch)
treeacf8d8db5f861138183645f3567ecceb52c6fa09 /meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
parent27eab454a6a94c12217353b5073a8f8a9380c0e5 (diff)
downloadmeta-openembedded-854a178ac26429111f2d1d18c8406ef77c423344.tar.gz
czmq: Allow to build with CMake 4+
There hasn't been an upstream release in four years. Latest HEAD supports builds with CMake 4+, but the corresponding patches at [0] and [1] are considered to be too invasive to backport. Instead, apply the 'minimum policy version' override. [0]: https://github.com/zeromq/czmq/commit/00d7750304f1c144f47225274b22ea8d638641ed [1]: https://github.com/zeromq/czmq/commit/53b46d63b41c51e32b5d539aa78ca91846f6a2a1 Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb')
-rw-r--r--meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
index 33a339f5c3..9a71c2e0eb 100644
--- a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
+++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
@@ -16,6 +16,7 @@ inherit cmake pkgconfig
16PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg" 16PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg"
17 17
18EXTRA_OECMAKE = " \ 18EXTRA_OECMAKE = " \
19 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
19 -DCMAKECONFIG_INSTALL_DIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/') + "/cmake/"} \ 20 -DCMAKECONFIG_INSTALL_DIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/') + "/cmake/"} \
20" 21"
21 22