aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wlr/meson.build3
-rw-r--r--meson.build2
2 files changed, 3 insertions, 2 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])
diff --git a/meson.build b/meson.build
index 2350f7da..5d45073d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project(
'wlroots',
'c',
- version: '0.16.0',
+ version: '0.16.0-dev',
license: 'MIT',
meson_version: '>=0.58.1',
default_options: [