🚧 fix meson build

This commit is contained in:
Vladislav Nepogodin 2024-07-06 01:59:50 +04:00
parent 2a88ecd313
commit 5a7a93d033
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,3 @@
# gucc test path
add_global_arguments('-DGUCC_TEST_DIR="' + meson.current_source_dir() + '"', language : 'cpp')
executable(
'test-initcpio',
files('unit-initcpio.cpp'),

View File

@ -53,6 +53,9 @@ else
endif
add_global_arguments('-DINSTALLER_VERSION="' + git_version + '"', language : 'cpp')
# gucc test path
add_global_arguments('-DGUCC_TEST_DIR="' + meson.current_source_dir() + '/gucc/tests/"', language : 'cpp')
# Common dependencies
spdlog = dependency('spdlog', version : ['>=1.12.0'], fallback : ['spdlog', 'spdlog_dep'])
fmt = dependency('fmt', version : ['>=10.1.0'], fallback : ['fmt', 'fmt_dep'])