Skip to content

Commit

Permalink
Find tbb version < 2021 with pkg-config (#3037)
Browse files Browse the repository at this point in the history
We currently don't support 2021 and newer, see #2867.

Signed-off-by: Steven Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Aug 11, 2021
1 parent c343565 commit f8b4d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/SearchForStuff.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ if (PKG_CONFIG_FOUND)

#################################################
# Find TBB
pkg_check_modules(TBB tbb)
pkg_check_modules(TBB tbb<2021)
set (TBB_PKG_CONFIG "tbb")
if (NOT TBB_FOUND)
message(STATUS "TBB not found, attempting to detect manually")
Expand Down

0 comments on commit f8b4d09

Please sign in to comment.