mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-21 02:44:04 -04:00
Compile with Meson version #defined
This commit is contained in:
parent
4b5eb482b5
commit
612081ec51
@ -5,6 +5,8 @@ project('kiwix-tools', 'cpp',
|
||||
|
||||
compiler = meson.get_compiler('cpp')
|
||||
|
||||
add_global_arguments('-DVERSION="@0@"'.format(meson.project_version()), language : 'cpp')
|
||||
|
||||
static_linkage = get_option('static-linkage')
|
||||
if static_linkage
|
||||
add_global_link_arguments('-static-libstdc++', '--static', language:'cpp')
|
||||
|
Loading…
x
Reference in New Issue
Block a user