Skip to content

Commit

Permalink
meson: make VERSION contain string, not a double
Browse files Browse the repository at this point in the history
In autotools, the generated config.h contains

#define VERSION "2.1"

while in meson it's

#define VERSION 2.1
  • Loading branch information
techee committed Jun 7, 2024
1 parent 96e6fb7 commit 186166f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ cdata.set_quoted('PACKAGE_NAME','Geany')
cdata.set_quoted('PACKAGE_STRING', 'Geany ' + meson.project_version())
cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
cdata.set('GETTEXT_PACKAGE', 'PACKAGE')
cdata.set('VERSION', meson.project_version())
cdata.set_quoted('VERSION', meson.project_version())
cdata.set('ENABLE_NLS', 1)
if (host_machine.system() != 'windows' and get_option('vte'))
cdata.set('HAVE_VTE', 1)
Expand Down

0 comments on commit 186166f

Please sign in to comment.