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.
This commit is contained in:
Simon Ser 2022-05-24 12:23:01 +02:00
parent 8a95d52890
commit 4a42a1a6a9

View file

@ -40,7 +40,7 @@ liftoff_lib = library(
'plane.c', 'plane.c',
), ),
include_directories: liftoff_inc, include_directories: liftoff_inc,
version: meson.project_version(), version: meson.project_version().split('-')[0],
dependencies: liftoff_deps, dependencies: liftoff_deps,
install: true, install: true,
) )