build(test): link tbb to fix gcc compilation issues
This commit is contained in:
parent
77c04d38c9
commit
20ef8c04d8
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
add_library_module(test test.cpp entrypoint.cpp)
|
add_library_module(test test.cpp entrypoint.cpp)
|
||||||
add_library_module(fuzz_test test.cpp fuzz.cpp)
|
add_library_module(fuzz_test test.cpp fuzz.cpp)
|
||||||
|
|
||||||
|
target_link_libraries(test PUBLIC tbb)
|
||||||
|
target_link_libraries(fuzz_test PUBLIC tbb)
|
||||||
|
|
||||||
add_test_module(test test.test.cpp)
|
add_test_module(test test.test.cpp)
|
||||||
|
|
|
@ -321,7 +321,6 @@ struct TestSuite
|
||||||
template<typename TSuite>
|
template<typename TSuite>
|
||||||
TestSuite(TSuite body)
|
TestSuite(TSuite body)
|
||||||
{
|
{
|
||||||
std::println("CONSTRUCTOR");
|
|
||||||
#ifndef LIGHT_SKIP_TESTS
|
#ifndef LIGHT_SKIP_TESTS
|
||||||
details::Registry::register_suite(+body);
|
details::Registry::register_suite(+body);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue