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ß <lukas.weiss@janitza.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-03-17 16:39:04 -07:00
parent cfc675964b
commit bf090188e2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"