diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-01-09 17:04:25 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-01-09 17:04:25 +0530 |
commit | 7b09c81dab9b53068abb5f546fe3b143916bf847 (patch) | |
tree | 2c75edf7912ad56c210ab109dbb0b51bb407b022 | |
parent | e474b380ffdb330eca7dd0f0fddacc7b19f3247d (diff) | |
download | fontconfig-7b09c81dab9b53068abb5f546fe3b143916bf847.tar.gz |
meson: Remove summary() from version_compare() block
The version_compare() block is redundant because we require meson 0.56
now, and it fixes a spurious warning:
```
fontconfig| WARNING: Project targeting '>= 0.53' but tried to use feature introduced in '0.54.0': list_sep arg in summary.
```
-rw-r--r-- | meson.build | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/meson.build b/meson.build index 64cae44..7376784 100644 --- a/meson.build +++ b/meson.build @@ -381,13 +381,11 @@ fc_headers = [ install_headers(fc_headers, subdir: meson.project_name()) # Summary -if meson.version().version_compare('>= 0.53') - doc_targets = get_variable('doc_targets', []) - - summary({ - 'Documentation': (doc_targets.length() > 0 ? doc_targets : false), - 'NLS': not get_option('nls').disabled(), - 'Tests': not get_option('tests').disabled(), - 'Tools': not get_option('tools').disabled(), - }, section: 'General', bool_yn: true, list_sep: ', ') -endif +doc_targets = get_variable('doc_targets', []) + +summary({ + 'Documentation': (doc_targets.length() > 0 ? doc_targets : false), + 'NLS': not get_option('nls').disabled(), + 'Tests': not get_option('tests').disabled(), + 'Tools': not get_option('tools').disabled(), + }, section: 'General', bool_yn: true, list_sep: ', ') |