relayd: Fix building with CMake 4+

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>
This commit is contained in:
Khem Raj 2025-07-14 12:23:54 -07:00
parent 1a2fb37a4c
commit be3c11c82d
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

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