aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-31 00:49:11 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-31 00:49:11 +0200
commit3904ca0a79cbe9329acc28d79932c85d4f1ac84f (patch)
treebc8029e42d76efb8dbb1df06398ab8416653014b /meson.build
parent8013f40c74e2da19ebc0a14d17a85a82d74ead20 (diff)
Add version to title
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index d3bf982..a9b408d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '4.1.5', default_options : ['warning_level=2'])
+project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '4.1.6', default_options : ['warning_level=2'])
add_project_arguments('-Wshadow', language : ['c', 'cpp'])
if get_option('buildtype') == 'debug'
@@ -18,6 +18,8 @@ dep = [
dependency('ayatana-appindicator3-0.1'),
]
+add_project_arguments('-DGSR_VERSION="' + meson.project_version() + '"', language: ['c', 'cpp'])
+
executable('gpu-screen-recorder-gtk', src, dependencies : dep, install : true)
prefix = get_option('prefix')