diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2022-01-10 22:37:31 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2022-01-10 22:37:31 +0300 |
commit | 4b8cf11fa554f9e1aeaa9d3a44df275751577f12 (patch) | |
tree | 4298f1427fa7eef5e3210a907c5b5c1976c7ccea /build_files/cmake/platform | |
parent | a4a95c8d36ba705d19735ed25f2ad5afdba59017 (diff) |
macOS: fix xcrun sdk detection for minimal CLT
Differential Revision: https://developer.blender.org/D13783
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_apple_xcode.cmake | 2 |
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() |