Blender Git Commit Log

Git Commits -> Revision d405d7c

Revision d405d7c by Ankit Meel (tmp-macminver)
May 20, 2021, 10:17 (GMT)
macOS: set minimum deployment target correctly

Fix T88419

`CMAKE_OSX_DEPLOYMENT_TARGET` is now always the same as
`OSX_MIN_DEPLOYMENT_TARGET`. I don't know the historical reason of
why they were allowed to be different.

`MACOSX_DEPLOYMENT_TARGET` has been moved to platform_apple_xcode
because it's helpful to deduce `CMAKE_OSX_DEPLOYMENT_TARGET` and
platform_apple is included after platform_apple_xcode. Although it seems
useless now that we're explicitly setting `CMAKE_OSX_DEPLOYMENT_TARGET`.
Remove it ? `man clang` says that `MACOSX_DEPLOYMENT_TARGET` is used
if `mmacosx-version-min` is not present.

Docs suggest that `CMAKE_OSX_DEPLOYMENT_TARGET` should be set before
project call. Should we do that, like in D10838, using
`blender_project_hack_pre` ?

Maniphest Tasks: T88419

Differential Revision:

Commit Details:

Full Hash: d405d7c87e3e6c65c33773ee07834f39c0976762
Parent Commit: 5e67dcf
Lines Changed: +3, -14

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021