build: suppress cmake warnings about unused vars
authorTjalling Hattink <t.hattink@fugro.com>
Tue, 26 Sep 2023 13:10:52 +0000 (15:10 +0200)
committerPaul Spooren <mail@aparcar.org>
Wed, 4 Oct 2023 10:28:45 +0000 (12:28 +0200)
commit29a56e0412668f197353001254125ae40824db1e
treeb7eac450e3bc9a6c92e015f10d448c309de911ba
parentcd56a682326f9de4d77ee3afb99d13d25c478c08
build: suppress cmake warnings about unused vars

When cmake is invoked to build a package it usually reports a warning
about unused variables passed to it. This is caused by openwrt passing
all supported variables to cmake, even if they are not all required by
the package being compiled.

To reduce clutter when compiling such packages these warnings are now
suppressed.

Approved-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Tjalling Hattink <t.hattink@fugro.com>
include/cmake.mk