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 f048ca6 commit fdcc28c
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 @@ -3542,12 +3542,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 @@ -3584,6 +3584,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 @@ -3626,6 +3627,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 @@ -3654,6 +3656,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 fdcc28c

Please sign in to comment.