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()