Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/cmake/platform/platform_apple.cmake')
-rw-r--r--build_files/cmake/platform/platform_apple.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index fe9dd6a58de..90188751fc0 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -388,6 +388,10 @@ endif()
if(WITH_TBB)
find_package(TBB)
+ if(NOT TBB_FOUND)
+ message(WARNING "TBB not found, disabling WITH_TBB")
+ set(WITH_TBB OFF)
+ endif()
endif()
if(WITH_POTRACE)