From 5a7a93d033bd77cf9f052efdeec43690729cb803 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sat, 6 Jul 2024 01:59:50 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20meson=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gucc/tests/meson.build | 3 --- meson.build | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gucc/tests/meson.build b/gucc/tests/meson.build index 7ffbb2c..c1243e3 100644 --- a/gucc/tests/meson.build +++ b/gucc/tests/meson.build @@ -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'), diff --git a/meson.build b/meson.build index f0b4bd1..e87688a 100644 --- a/meson.build +++ b/meson.build @@ -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'])