🚧 meson: define same vars for spdlog

This commit is contained in:
Vladislav Nepogodin 2024-06-26 21:27:10 +04:00
parent dcbab93e43
commit b137c02eb6
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -39,6 +39,9 @@ if not is_dev_environment
add_global_arguments('-DNDEVENV', language : 'cpp')
endif
add_global_arguments('-DSPDLOG_DISABLE_DEFAULT_LOGGER', language : 'cpp')
add_global_arguments('-DSPDLOG_FMT_EXTERNAL', language : 'cpp')
version_commit_hash = run_command('git', 'rev-parse', '--short', 'HEAD', check: false).stdout().strip()
build_timestamp = run_command('date', '+%Y%m%d', check: true).stdout().strip()