From 971316e7a565f92954397f420a64a073155e41f5 Mon Sep 17 00:00:00 2001 From: Hind-M Date: Mon, 13 Dec 2021 11:06:12 +0100 Subject: Fix benchmarks compilation errors in debug mode --- src/Toplex_map/benchmark/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Toplex_map') diff --git a/src/Toplex_map/benchmark/CMakeLists.txt b/src/Toplex_map/benchmark/CMakeLists.txt index 2d58a156..6703d9d0 100644 --- a/src/Toplex_map/benchmark/CMakeLists.txt +++ b/src/Toplex_map/benchmark/CMakeLists.txt @@ -1,3 +1,7 @@ project(Toplex_map_benchmark) add_executable(Toplex_map_benchmark benchmark_tm.cpp) + +if (TBB_FOUND) + target_link_libraries(Toplex_map_benchmark ${TBB_LIBRARIES}) +endif() -- cgit v1.2.3