[Bf-blender-cvs] [4b8cf11fa55] master: macOS: fix xcrun sdk detection for minimal CLT
Ankit Meel
noreply at git.blender.org
Mon Jan 10 20:37:50 CET 2022
Commit: 4b8cf11fa554f9e1aeaa9d3a44df275751577f12
Author: Ankit Meel
Date: Tue Jan 11 01:07:31 2022 +0530
Branches: master
https://developer.blender.org/rB4b8cf11fa554f9e1aeaa9d3a44df275751577f12
macOS: fix xcrun sdk detection for minimal CLT
Differential Revision: https://developer.blender.org/D13783
===================================================================
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 639d7e43afd..c9afd67df84 100644
--- a/build_files/cmake/platform/platform_apple_xcode.cmake
+++ b/build_files/cmake/platform/platform_apple_xcode.cmake
@@ -96,7 +96,7 @@ else()
# Detect SDK version to use.
if(NOT DEFINED OSX_SYSTEM)
execute_process(
- COMMAND xcrun --show-sdk-version
+ COMMAND xcrun --sdk macosx --show-sdk-version
OUTPUT_VARIABLE OSX_SYSTEM
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
More information about the Bf-blender-cvs
mailing list