macOS: fix xcrun sdk detection for minimal CLT

Differential Revision: https://developer.blender.org/D13783
This commit is contained in:
Ankit Meel 2022-01-11 01:07:31 +05:30
parent a4a95c8d36
commit 4b8cf11fa5
1 changed files with 1 additions and 1 deletions

View File

@ -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()