From 20ef8c04d8a015de6d8535184a9e516691eccc2f Mon Sep 17 00:00:00 2001 From: light7734 Date: Wed, 8 Oct 2025 06:30:11 +0330 Subject: [PATCH] build(test): link tbb to fix gcc compilation issues --- modules/test/CMakeLists.txt | 3 +++ modules/test/public/test.hpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/test/CMakeLists.txt b/modules/test/CMakeLists.txt index 7b7e9b0..a978884 100644 --- a/modules/test/CMakeLists.txt +++ b/modules/test/CMakeLists.txt @@ -1,4 +1,7 @@ add_library_module(test test.cpp entrypoint.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) diff --git a/modules/test/public/test.hpp b/modules/test/public/test.hpp index 64d1754..13987a2 100644 --- a/modules/test/public/test.hpp +++ b/modules/test/public/test.hpp @@ -321,7 +321,6 @@ struct TestSuite template TestSuite(TSuite body) { - std::println("CONSTRUCTOR"); #ifndef LIGHT_SKIP_TESTS details::Registry::register_suite(+body); #endif