Skip to content

Commit

Permalink
Meson: Make modpack installer build to depend on verhdr
Browse files Browse the repository at this point in the history
See RM #896

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
  • Loading branch information
cazfi committed Sep 23, 2024
1 parent 5208dc6 commit 8499acb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4007,12 +4007,12 @@ endif
executable('freeciv-mp-gtk3',
'tools/fcmp/mpgui_gtk3.c',
mpicon,
sources: [verhdr],
c_args: [ '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_20',
'-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22',
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_50',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_50'],
include_directories: tool_inc,
sources: [verhdr],
dependencies: [gtk322_dep, sqlite3_dep, gettext_dep],
link_with: [common_lib, fcmp_common],
install: true,
Expand Down Expand Up @@ -4050,6 +4050,7 @@ executable('freeciv-mp-gtk4',
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66'],
include_directories: tool_inc,
sources: [verhdr],
dependencies: [gtk4_dep, sqlite3_dep, gettext_dep],
link_with: [common_lib, fcmp_common],
install: true,
Expand Down Expand Up @@ -4093,6 +4094,7 @@ executable('freeciv-mp-qt',
'tools/fcmp/mpgui_qt_worker.cpp',
mocced_fcmp, mpicon,
include_directories: tool_inc,
sources: [verhdr],
dependencies: [qt_dep, sqlite3_dep, gettext_dep],
link_with: [common_lib, fcmp_common],
override_options: qt_opts,
Expand Down Expand Up @@ -4122,6 +4124,7 @@ executable('freeciv-mp-cli',
'tools/fcmp/mpcli.c',
mpicon,
include_directories: tool_inc,
sources: [verhdr],
dependencies: [sqlite3_dep, gettext_dep],
link_with: [common_lib, fcmp_common],
install: true,
Expand Down

0 comments on commit 8499acb

Please sign in to comment.