meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead
of meson_options.txt[1]. These are equivalent, but not using the .txt
extension for a build file has a few advantages, chief among them
many tools and text editors expect a file with the .txt extension to
be plain text files, not build scripts.
[1] https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ib4cfb15ddb510876eb8758fee91f89f5dd1ba6ed
diff --git a/meson.build b/meson.build
index ad5cd8d..ae6a240 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@
'tests=' + (meson.is_subproject() ? 'disabled' : 'enabled'),
],
version: '0.5.0',
- meson_version: '>=0.63.0',
+ meson_version: '>=1.1.0',
)
add_project_arguments('-D_DEFAULT_SOURCE', language: ['c'])