File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -326,8 +326,6 @@ function(_compile_swift_files
326
326
set (sib_file "${module_base} .Onone.sib" )
327
327
set (sibopt_file "${module_base} .O.sib" )
328
328
set (sibgen_file "${module_base} .sibgen" )
329
- list (APPEND swift_module_flags
330
- "-emit-module-source-info-path" "${source_info_file} " )
331
329
332
330
if (SWIFT_ENABLE_MODULE_INTERFACES )
333
331
set (interface_file "${module_base} .swiftinterface" )
@@ -501,6 +499,7 @@ function(_compile_swift_files
501
499
COMMAND
502
500
"${PYTHON_EXECUTABLE} " "${line_directive_tool} " "@${file_path} " --
503
501
"${swift_compiler_tool} " "-emit-module" "-o" "${module_file} "
502
+ "-emit-module-source-info-path" "${source_info_file} "
504
503
${swift_flags} ${swift_module_flags} "@${file_path} "
505
504
${command_touch_module_outputs}
506
505
OUTPUT ${module_outputs}
You can’t perform that action at this time.
0 commit comments