Newer versions of meson throw a warning if newer features are used
without explicit declaration of the required meson version.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
project('meson-example', 'cpp',
version: '1.0.0',
- default_options: ['cpp_std=c++17']
+ default_options: ['cpp_std=c++17'],
+ meson_version: '>=1.1.0'
)
jsoncdep = dependency('json-c')