mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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]:00d7750304[1]:53b46d63b4Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
27eab454a6
commit
854a178ac2
|
|
@ -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/"} \
|
||||
"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user