cppzmq: Use ALLOW_EMPTY
PATCH 1/1 cppzmq: Use ALLOW_EMPTY
while ALLOW_EMPTY is frowned upon, this seems to be fitting to solve the issue at hand here. When adding cppzmq to target SDK
This does not work resulting in
ERROR: Nothing RPROVIDES 'cppzmq' (but calc-server_latest.bb RDEPENDS on or otherwise requires it)
Adding cppzmq-dev dependency works for Target-SDK, but not for Target-Build:
ERROR: calc-server-latest-r0 do_package_qa: QA Issue: calc-server rdepends on cppzmq-dev [dev-deps]
Suggested-by Lukas Weiß <[email protected]>
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb +1 -4
@@ -14,7 +14,4 @@ inherit cmake EXTRA_OECMAKE = "-DCPPZMQ_BUILD_TESTS=OFF" -PACKAGES = "${PN}-dev" - -RDEPENDS:${PN}-dev = "zeromq-dev zeromq-staticdev" -DEV_PKG_DEPENDENCY = "" +ALLOW_EMPTY:${PN} = "1"