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:
authorAnkit Meel <ankitjmeel@gmail.com>2021-05-20 19:25:58 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2021-05-20 19:25:58 +0300
commit2e7d3ad7b51bbc05cdcbbc3c055f961f3a2c28a8 (patch)
tree2e553a0cd0cba06bc103b4f99c023130468fc60f /build_files/cmake/platform/platform_apple.cmake
parent991a1cdf5dae6aeae2053d993f9983d8965a82be (diff)
macOS build: set minimum deployment target correctly
Make `CMAKE_OSX_DEPLOYMENT_TARGET` independent of buildbot settings and always set to `OSX_MIN_DEPLOYMENT_TARGET`. That fixes the launch error on OS older than buildbot's. Remove unused `MACOSX_DEPLOYMENT_TARGET`. Fix T88419 Diff D11323
Diffstat (limited to 'build_files/cmake/platform/platform_apple.cmake')
-rw-r--r--build_files/cmake/platform/platform_apple.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index a5eee46349a..fe9dd6a58de 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -20,12 +20,6 @@
# Libraries configuration for Apple.
-if("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64")
- set(MACOSX_DEPLOYMENT_TARGET 11.00)
-else()
- set(MACOSX_DEPLOYMENT_TARGET 10.13)
-endif()
-
macro(find_package_wrapper)
# do nothing, just satisfy the macro
endmacro()