We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fe0917 + 144ec41 commit 0bbd8deCopy full SHA for 0bbd8de
cmake/modules/SwiftConfigureSDK.cmake
@@ -127,12 +127,9 @@ macro(configure_sdk_darwin
127
COMMAND "xcrun" "--sdk" "${xcrun_name}" "--show-sdk-path"
128
OUTPUT_VARIABLE SWIFT_SDK_${prefix}_PATH
129
OUTPUT_STRIP_TRAILING_WHITESPACE)
130
- if(NOT EXISTS "${SWIFT_SDK_${prefix}_PATH}/System/Library/Frameworks/module.map")
131
- message(FATAL_ERROR "${name} SDK not found at ${SWIFT_SDK_${prefix}_PATH}.")
132
- endif()
133
endif()
134
135
+ if(NOT EXISTS "${SWIFT_SDK_${prefix}_PATH}/SDKSettings.plist")
136
message(FATAL_ERROR "${name} SDK not found at SWIFT_SDK_${prefix}_PATH.")
137
138
0 commit comments