diff --git a/cmake/gazebo-config.cmake.in b/cmake/gazebo-config.cmake.in index 9d7b544c67..ce09d8d304 100644 --- a/cmake/gazebo-config.cmake.in +++ b/cmake/gazebo-config.cmake.in @@ -226,7 +226,7 @@ list(APPEND @PKG_NAME@_LDFLAGS -L${GAZEBO_INSTALL_LIB_DIR}/gazebo-@GAZEBO_MAJOR_ set (GAZEBO_HAS_TBB_GREATER_OR_EQUAL_2021 @HAVE_TBB_GREATER_OR_EQUAL_2021@) if (GAZEBO_HAS_TBB_GREATER_OR_EQUAL_2021) find_package(TBB CONFIG) - if (TARGET tbb::tbb) + if (TARGET TBB::tbb) list(APPEND @PKG_NAME@_LIBRARIES TBB::tbb) endif () endif ()