Skip to content

Commit

Permalink
🚧 fix meson build
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jul 5, 2024
1 parent 2a88ecd commit 5a7a93d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gucc/tests/meson.build
Original file line number Diff line number Diff line change
@@ -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'),
Expand Down
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 5a7a93d

Please sign in to comment.