From 4e0a4a8ecbe22577e08cf80feafb8ad7fd1f509f Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Thu, 1 Jul 2021 11:15:18 -0700 Subject: [PATCH] Find tbb version < 2021 with pkg-config We don't support 2021 and newer, see #2867. Signed-off-by: Steven Peters --- cmake/SearchForStuff.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index a6f3cc02bf..4085b5aaeb 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -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")