forked from OSchip/llvm-project
[CMake][Darwin] Ignore stderr during SDKSetting.plist parsing
Don't print stderr to commandline when configuring compiler-rt for darwin platforms. NFC. Reviewed By: delcypher Differential Revision: https://reviews.llvm.org/D108156
This commit is contained in:
parent
3cb5aa8622
commit
05eaa2b42f
|
@ -83,7 +83,8 @@ if(APPLE)
|
|||
execute_process(COMMAND
|
||||
/usr/libexec/PlistBuddy -c "Print :SupportedTargets:${os}:Archs" ${sdk_path}/SDKSettings.plist
|
||||
OUTPUT_VARIABLE SDK_SUPPORTED_ARCHS
|
||||
RESULT_VARIABLE PLIST_ERROR)
|
||||
RESULT_VARIABLE PLIST_ERROR
|
||||
ERROR_QUIET)
|
||||
if (PLIST_ERROR EQUAL 0 AND
|
||||
SDK_SUPPORTED_ARCHS MATCHES " ${arch}\n")
|
||||
message(STATUS "Found ${arch} support in ${sdk_path}/SDKSettings.plist")
|
||||
|
|
Loading…
Reference in New Issue