Skip to content

Commit

Permalink
Bump libtbb version requirement to 3.0 (Interface 5005) minimum
Browse files Browse the repository at this point in the history
Note that since 3.0 compatability uses the preview version of
concurrent priority queues, version 4.0 or higher is stronly
recommended.
  • Loading branch information
sgolemon committed Aug 15, 2012
1 parent 92b1b1d commit 994d166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMake/HPHPFindLibs.cmake
Expand Up @@ -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})
Expand Down

0 comments on commit 994d166

Please sign in to comment.