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.
1 parent 022aab9 commit b5c4457Copy full SHA for b5c4457
SwiftCompilerSources/CMakeLists.txt
@@ -178,11 +178,12 @@ function(add_swift_compiler_modules_library name)
178
"(.*)/Toolchains/([^+]*).*"
179
"\\1/Platforms/\\2/Windows.platform/Developer/SDKs/Windows.sdk/usr/lib/swift"
180
resource_dir "${ALS_SWIFT_EXEC}")
181
- list(APPEND sdk_option "-resource-dir" "${resource_dir}")
182
183
# Workaround a crash in the LoadableByAddress pass
184
# https://github.com/apple/swift/issues/73254
185
list(APPEND swift_compile_options "-Xllvm" "-sil-disable-pass=loadable-address")
+
186
+ list(APPEND sdk_option "-sdk" "${SWIFT_PATH_TO_SWIFT_SDK}")
187
list(APPEND swift_compile_options "-v" "-Xcc" "-v")
188
else()
189
list(APPEND sdk_option "-I" "${swift_exec_bin_dir}/../lib" "-I" "${sdk_path}/usr/lib")
0 commit comments