From 994d1664e2cceea959e0a5fa02ef4dec3b6a6d6e Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Wed, 15 Aug 2012 10:17:18 -0700 Subject: [PATCH] Bump libtbb version requirement to 3.0 (Interface 5005) minimum Note that since 3.0 compatability uses the preview version of concurrent priority queues, version 4.0 or higher is stronly recommended. --- CMake/HPHPFindLibs.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/HPHPFindLibs.cmake b/CMake/HPHPFindLibs.cmake index e959a60583415..b0eb65f063f41 100644 --- a/CMake/HPHPFindLibs.cmake +++ b/CMake/HPHPFindLibs.cmake @@ -207,11 +207,11 @@ endif() # tbb libs find_package(TBB REQUIRED) -if (${TBB_INTERFACE_VERSION} LESS 3016) +if (${TBB_INTERFACE_VERSION} LESS 5005) unset(TBB_FOUND CACHE) unset(TBB_INCLUDE_DIRS CACHE) unset(TBB_LIBRARIES CACHE) - message(FATAL_ERROR "TBB is too old, please install a newer version") + message(FATAL_ERROR "TBB is too old, please install at least 3.0(5005), preferably 4.0(6000) or higher") endif() include_directories(${TBB_INCLUDE_DIRS}) link_directories(${TBB_LIBRARY_DIRS})