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>2022-01-10 22:37:31 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2022-01-10 22:37:31 +0300
commit4b8cf11fa554f9e1aeaa9d3a44df275751577f12 (patch)
tree4298f1427fa7eef5e3210a907c5b5c1976c7ccea /build_files/cmake
parenta4a95c8d36ba705d19735ed25f2ad5afdba59017 (diff)
macOS: fix xcrun sdk detection for minimal CLT
Differential Revision: https://developer.blender.org/D13783
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/platform/platform_apple_xcode.cmake2
1 files changed, 1 insertions, 1 deletions
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()