diff options
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/meson.build b/include/wlr/meson.build index ae9c17a3..f7ca413d 100644 --- a/include/wlr/meson.build +++ b/include/wlr/meson.build @@ -1,4 +1,5 @@ -version_array = meson.project_version().split('.') +version_base = meson.project_version().split('-')[0] +version_array = version_base.split('.') version_data = configuration_data() version_data.set_quoted('WLR_VERSION_STR', meson.project_version()) version_data.set('WLR_VERSION_MAJOR', version_array[0]) |