diff options
-rw-r--r-- | src/Toplex_map/benchmark/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/common/benchmark/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 0 deletions
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() 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() |