meson: Define VERSION as well

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2018-03-29 12:46:51 +02:00
parent 5d605312ab
commit 1ba3feafe8
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ check = dependency('check', version: '>= 0.11.0', required: get_option('enable-c
header_conf = configuration_data()
header_conf.set_quoted('PACKAGE_NAME', meson.project_name())
header_conf.set_quoted('PACKAGE_VERSION', meson.project_version())
header_conf.set_quoted('VERSION', meson.project_version())
header_conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
header_conf.set_quoted('PACKAGE_BUGREPORT', 'https://github.com/DaveDavenport/rofi/')
header_conf.set_quoted('PACKAGE_URL', 'https://reddit.com/r/qtools/')