[Bf-blender-cvs] [133b84a8fd4] tmp-macos-min-version: Find CMAKE_OSX_DEPLOYMENT_TARGET's value

Ankit Meel noreply at git.blender.org
Thu May 20 09:09:09 CEST 2021


Commit: 133b84a8fd47c287118de79f6d67110f38a398ed
Author: Ankit Meel
Date:   Thu May 20 12:31:00 2021 +0530
Branches: tmp-macos-min-version
https://developer.blender.org/rB133b84a8fd47c287118de79f6d67110f38a398ed

Find CMAKE_OSX_DEPLOYMENT_TARGET's value

===================================================================

M	build_files/cmake/platform/platform_apple_xcode.cmake

===================================================================

diff --git a/build_files/cmake/platform/platform_apple_xcode.cmake b/build_files/cmake/platform/platform_apple_xcode.cmake
index 4d15fee75b7..55d23c28880 100644
--- a/build_files/cmake/platform/platform_apple_xcode.cmake
+++ b/build_files/cmake/platform/platform_apple_xcode.cmake
@@ -184,6 +184,9 @@ else()
   set(CMAKE_OSX_DEPLOYMENT_TARGET "${OSX_MIN_DEPLOYMENT_TARGET}" CACHE STRING "" FORCE)
 endif()
 
+message(FATAL_ERROR "CMAKE_OSX_DEPLOYMENT_TARGET: ${CMAKE_OSX_DEPLOYMENT_TARGET},"
+    " OSX_MIN_DEPLOYMENT_TARGET: ${OSX_MIN_DEPLOYMENT_TARGET}")
+
 if(NOT ${CMAKE_GENERATOR} MATCHES "Xcode")
   # Force CMAKE_OSX_DEPLOYMENT_TARGET for makefiles, will not work else (CMake bug?)
   string(APPEND CMAKE_C_FLAGS " -mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")



More information about the Bf-blender-cvs mailing list