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/common/benchmark/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common') diff --git a/src/common/benchmark/CMakeLists.txt b/src/common/benchmark/CMakeLists.txt index a3787d6e..26e4e6af 100644 --- a/src/common/benchmark/CMakeLists.txt +++ b/src/common/benchmark/CMakeLists.txt @@ -1,3 +1,7 @@ project(common_benchmark) add_executable(Graph_simplicial_complex_benchmark Graph_simplicial_complex_benchmark.cpp) + +if (TBB_FOUND) + target_link_libraries(Graph_simplicial_complex_benchmark ${TBB_LIBRARIES}) +endif() -- cgit v1.2.3