mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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>
This commit is contained in:
@@ -16,6 +16,7 @@ inherit cmake pkgconfig
|
||||
PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg"
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKECONFIG_INSTALL_DIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/') + "/cmake/"} \
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user