From 4a42a1a6a9c60bb1464672115ae37cc0b4099f86 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 May 2022 12:23:01 +0200 Subject: [PATCH] build: fix library version Fixes the following error: ../meson.build:31:0: ERROR: Invalid Shared library version "0.3.0-dev". Must be of the form X.Y.Z where all three are numbers. Y and Z are optional. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 4ae1d3b..3b49e94 100644 --- a/meson.build +++ b/meson.build @@ -40,7 +40,7 @@ liftoff_lib = library( 'plane.c', ), include_directories: liftoff_inc, - version: meson.project_version(), + version: meson.project_version().split('-')[0], dependencies: liftoff_deps, install: true, )