mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 22:42:31 +08:00
🚧 fix meson build
This commit is contained in:
parent
2a88ecd313
commit
5a7a93d033
@ -1,6 +1,3 @@
|
|||||||
# gucc test path
|
|
||||||
add_global_arguments('-DGUCC_TEST_DIR="' + meson.current_source_dir() + '"', language : 'cpp')
|
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'test-initcpio',
|
'test-initcpio',
|
||||||
files('unit-initcpio.cpp'),
|
files('unit-initcpio.cpp'),
|
||||||
|
@ -53,6 +53,9 @@ else
|
|||||||
endif
|
endif
|
||||||
add_global_arguments('-DINSTALLER_VERSION="' + git_version + '"', language : 'cpp')
|
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
|
# Common dependencies
|
||||||
spdlog = dependency('spdlog', version : ['>=1.12.0'], fallback : ['spdlog', 'spdlog_dep'])
|
spdlog = dependency('spdlog', version : ['>=1.12.0'], fallback : ['spdlog', 'spdlog_dep'])
|
||||||
fmt = dependency('fmt', version : ['>=10.1.0'], fallback : ['fmt', 'fmt_dep'])
|
fmt = dependency('fmt', version : ['>=10.1.0'], fallback : ['fmt', 'fmt_dep'])
|
||||||
|
Loading…
Reference in New Issue
Block a user