diff --git a/common/tasking/CMakeLists.txt b/common/tasking/CMakeLists.txt index bf790ef63c..9929f3902a 100644 --- a/common/tasking/CMakeLists.txt +++ b/common/tasking/CMakeLists.txt @@ -16,7 +16,7 @@ ELSEIF (TASKING_TBB) ADD_LIBRARY(tasking STATIC taskschedulertbb.cpp) if (TARGET TBB::${EMBREE_TBB_COMPONENT}) - message("-- TBB: reuse existing TBB::${TBB_COMPONENT} target") + message("-- TBB: reuse existing TBB::${EMBREE_TBB_COMPONENT} target") TARGET_LINK_LIBRARIES(tasking PUBLIC TBB::${EMBREE_TBB_COMPONENT}) else() # Try getting TBB via config first