Skip to content

Commit

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

Signed-off-by: Steven Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Jul 1, 2021
1 parent 0fcdfc0 commit 4e0a4a8
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 @@ -301,7 +301,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 4e0a4a8

Please sign in to comment.