From ac1753a596aa8a29c9ad04c42ff92dcfb9066a5c Mon Sep 17 00:00:00 2001 From: Jules P?nuchot Date: Tue, 30 May 2023 17:16:08 +0200 Subject: [PATCH] TBB::tbb as a private library --- grapher/cmake/grapher-target.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grapher/cmake/grapher-target.cmake b/grapher/cmake/grapher-target.cmake index 1212686..14b71b9 100644 --- a/grapher/cmake/grapher-target.cmake +++ b/grapher/cmake/grapher-target.cmake @@ -10,10 +10,11 @@ target_include_directories(grapher llvm_map_components_to_libnames(llvm_libs support) +target_link_libraries(grapher PRIVATE TBB::tbb) + target_link_libraries(grapher PUBLIC ${llvm_libs} - TBB::tbb ctbench-compile-opts fmt::fmt nlohmann_json::nlohmann_json