diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2021-04-07 21:55:02 +0300 |
---|---|---|
committer | Povilas Kanapickas <povilas@radix.lt> | 2021-04-08 14:06:02 +0000 |
commit | 2df55813d0f553050ff06065a67e90f678db593a (patch) | |
tree | 3ef8a1eebac4c40547b8a8d9a1ef4136fb20944e | |
parent | 5d3679104aaeabac585894606ad317b433b65238 (diff) |
meson: Drop version subpatch handling
-rw-r--r-- | include/meson.build | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/meson.build b/include/meson.build index e4e1b06ae..def96d103 100644 --- a/include/meson.build +++ b/include/meson.build @@ -2,11 +2,6 @@ version_split = meson.project_version().split('.') major = version_split[0].to_int() minor = version_split[1].to_int() patch = version_split[2].to_int() -if version_split.length() == 4 - subpatch = version_split[3].to_int() -else - subpatch = 0 -endif # convert to the old-style 1.x.y version scheme used up to 1.20.x for backwards compatibility release = 1 * 10000000 + major * 100000 + minor * 1000 + patch |