diff options
| author | Marvin W <git@larma.de> | 2025-07-20 21:38:48 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2025-07-20 23:46:39 +0200 |
| commit | 986f2e20e4779bed8b23a02d741f3a42ae12f75a (patch) | |
| tree | f7e157be3b03100fa522eee0c8538db6b7c0a9eb /meson.build | |
| parent | 87f2ce72d18f5e789f7397de42b1fb3bcc9d8650 (diff) | |
Meson: Add legacy support for Meson 1.3
This is for compatibility with Ubuntu 24.04 LTS
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index f8f497fa..ae5b4fac 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('Dino', 'c', 'cpp', 'vala', license: 'GPL-3.0', meson_version: '>=1.4.0') +project('Dino', 'c', 'cpp', 'vala', license: 'GPL-3.0', meson_version: '>=1.3.0') fs = import('fs') gnome = import('gnome') @@ -56,7 +56,7 @@ endif prog_git = find_program('git', required: false) prog_python = python.find_installation() -if import('fs').is_file('VERSION') +if import('fs').is_file('VERSION') and meson.version().version_compare('>=1.4.0') version_file = files('VERSION')[0] version_file_path = version_file.full_path() else |
