CMake: Add minimum version to TBB.

Since https://projects.blender.org/blender/blender/pulls/138370 we now
require at least tbb 2021.13.0.
This commit is contained in:
Sebastian Parborg
2025-05-07 18:22:38 +02:00
parent 4e33627ebd
commit 16a4a6c5b3
2 changed files with 2 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ if(WITH_OPENIMAGEDENOISE)
endif()
if(WITH_TBB)
find_package(TBB REQUIRED)
find_package(TBB 2021.13.0 REQUIRED)
if(TBB_FOUND)
get_target_property(TBB_LIBRARIES TBB::tbb LOCATION)
get_target_property(TBB_INCLUDE_DIRS TBB::tbb INTERFACE_INCLUDE_DIRECTORIES)

View File

@@ -562,7 +562,7 @@ endif()
add_bundled_libraries(opensubdiv/lib)
if(WITH_TBB)
find_package_wrapper(TBB)
find_package_wrapper(TBB 2021.13.0)
if(TBB_FOUND)
get_target_property(TBB_LIBRARIES TBB::tbb LOCATION)
get_target_property(TBB_INCLUDE_DIRS TBB::tbb INTERFACE_INCLUDE_DIRECTORIES)