From c8b008cc81d575a8d584dbd51c5077e0ba5df499 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Tue, 6 Jul 2021 02:59:24 -0700 Subject: [PATCH] Find tbb version < 2021 with pkg-config (#3037) We currently 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 67abec41e0..0c0b49eada 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -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")