File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -178,11 +178,12 @@ function(add_swift_compiler_modules_library name)
178
178
"(.*)/Toolchains/([^+]*).*"
179
179
"\\ 1/Platforms/\\ 2/Windows.platform/Developer/SDKs/Windows.sdk/usr/lib/swift"
180
180
resource_dir "${ALS_SWIFT_EXEC} " )
181
- list (APPEND sdk_option "-resource-dir" "${resource_dir} " )
182
181
183
182
# Workaround a crash in the LoadableByAddress pass
184
183
# https://github.com/apple/swift/issues/73254
185
184
list (APPEND swift_compile_options "-Xllvm" "-sil-disable-pass=loadable-address" )
185
+
186
+ list (APPEND sdk_option "-sdk" "${SWIFT_PATH_TO_SWIFT_SDK} " )
186
187
list (APPEND swift_compile_options "-v" "-Xcc" "-v" )
187
188
else ()
188
189
list (APPEND sdk_option "-I" "${swift_exec_bin_dir} /../lib" "-I" "${sdk_path} /usr/lib" )
You can’t perform that action at this time.
0 commit comments