From 17ca22ae9f662327d05146f068dffc885da27326 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 16 Feb 2024 17:53:51 +0100 Subject: [PATCH] macOS: Raise minimum required version to macOS 11.2 This was already the minimum requirement for Intel and Apple Silicon GPUs. It is required for the Metal backend to work correctly. Previously the minimum for AMD GPUs was 10.15. Pull Request: https://projects.blender.org/blender/blender/pulls/118287 --- build_files/cmake/platform/platform_apple_xcode.cmake | 10 +++------- release/darwin/Blender.app/Contents/Info.plist | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/build_files/cmake/platform/platform_apple_xcode.cmake b/build_files/cmake/platform/platform_apple_xcode.cmake index 42ca2d7d547..427b7b9447c 100644 --- a/build_files/cmake/platform/platform_apple_xcode.cmake +++ b/build_files/cmake/platform/platform_apple_xcode.cmake @@ -152,13 +152,9 @@ endif() unset(OSX_SDKROOT) -if("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64") - # M1 chips run Big Sur onwards. - set(OSX_MIN_DEPLOYMENT_TARGET 11.00) -else() - # 10.15 is our min. target, if you use higher sdk, weak linking happens - set(OSX_MIN_DEPLOYMENT_TARGET 10.15) -endif() +# This is our minimum target, if you use higher sdk, weak linking happens +# Mainly required because of Metal drivers. +set(OSX_MIN_DEPLOYMENT_TARGET 11.2) set(CMAKE_OSX_DEPLOYMENT_TARGET "${OSX_MIN_DEPLOYMENT_TARGET}" CACHE STRING "" FORCE) diff --git a/release/darwin/Blender.app/Contents/Info.plist b/release/darwin/Blender.app/Contents/Info.plist index 8fd39a1fc2e..ce7a46cc806 100644 --- a/release/darwin/Blender.app/Contents/Info.plist +++ b/release/darwin/Blender.app/Contents/Info.plist @@ -3,7 +3,7 @@ LSMinimumSystemVersion - 10.13 + 11.2 CFBundleDocumentTypes