From 57efcfed5ea01eee03543bfbb5dd6d46c0dcbbc8 Mon Sep 17 00:00:00 2001 From: "Franz R. Sattler" Date: Fri, 17 Jan 2025 16:14:32 +0100 Subject: [PATCH] fix: tbb->TBB::tbb in CMake lists. Under Mac this seems to lead to problems.... Signed-off-by: Franz R. Sattler --- DiFfRG/cmake/setup_build_system.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DiFfRG/cmake/setup_build_system.cmake b/DiFfRG/cmake/setup_build_system.cmake index f1c283a..deebccb 100644 --- a/DiFfRG/cmake/setup_build_system.cmake +++ b/DiFfRG/cmake/setup_build_system.cmake @@ -261,7 +261,7 @@ if(USE_CUDA AND CMAKE_CUDA_COMPILER) target_link_libraries(${TARGET} spdlog::spdlog) target_link_libraries(${TARGET} rmm::rmm) target_link_libraries(${TARGET} ${Boost_LIBRARIES}) - target_link_libraries(${TARGET} tbb) + target_link_libraries(${TARGET} TBB::tbb) endfunction() message(STATUS "CUDA support enabled.") @@ -284,7 +284,7 @@ else() target_link_libraries(${TARGET} GSL::gsl) target_link_libraries(${TARGET} Eigen3) - target_link_libraries(${TARGET} tbb) + target_link_libraries(${TARGET} TBB::tbb) target_link_libraries(${TARGET} spdlog::spdlog) target_link_libraries(${TARGET} ${Boost_LIBRARIES}) endfunction()