Message ID | 20250714232933.230092-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-networking,1/2] relayd: Fix building with CMake 4+ | expand |
diff --git a/meta-networking/recipes-connectivity/relayd/relayd_git.bb b/meta-networking/recipes-connectivity/relayd/relayd_git.bb index 17745da806..64ea4e798a 100644 --- a/meta-networking/recipes-connectivity/relayd/relayd_git.bb +++ b/meta-networking/recipes-connectivity/relayd/relayd_git.bb @@ -15,4 +15,6 @@ UPSTREAM_CHECK_COMMITS = "1" inherit cmake +EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" + CFLAGS:append:toolchain-clang = " -Wno-error=gnu-variable-sized-type-not-at-end"
Bump minimum cmake dialect to be 3.5+, this is an openwrt component, which does not get many updates these days. Ideally the cmake files for the project should be fixed. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-networking/recipes-connectivity/relayd/relayd_git.bb | 2 ++ 1 file changed, 2 insertions(+)