fix(tests): added threads as a dep, required for linux building

This commit is contained in:
2026-01-31 10:35:57 -05:00
parent e5c9b028fb
commit b034fb6746
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
# Test files for const
threads_dep = dependency('threads')
test_sources = [
'configTest.cpp',
]
@@ -11,7 +12,7 @@ foreach test_file : test_sources
test_exe = executable(
exe_name,
test_file,
dependencies: [gtest_dep, config_dep, gtest_main],
dependencies: [gtest_dep, config_dep, gtest_main, threads_dep],
install_rpath: '@loader_path/../../src' # Ensure runtime library path resolves correctly
)