@@ -788,6 +788,8 @@ function(_compile_swift_files
788
788
${command_touch_standard_outputs}
789
789
OUTPUT ${standard_outputs}
790
790
DEPENDS
791
+ "${line_directive_tool} "
792
+ "${file_path} "
791
793
${swift_compiler_tool_dep}
792
794
${source_files} ${SWIFTFILE_DEPENDS}
793
795
${swift_ide_test_dependency}
@@ -827,6 +829,8 @@ function(_compile_swift_files
827
829
${command_touch_module_outputs}
828
830
OUTPUT ${module_outputs}
829
831
DEPENDS
832
+ "${line_directive_tool} "
833
+ "${file_path} "
830
834
${swift_compiler_tool_dep}
831
835
${source_files} ${SWIFTFILE_DEPENDS}
832
836
${swift_ide_test_dependency}
@@ -883,6 +887,8 @@ function(_compile_swift_files
883
887
OUTPUT
884
888
${maccatalyst_module_outputs}
885
889
DEPENDS
890
+ "${line_directive_tool} "
891
+ "${file_path} "
886
892
${swift_compiler_tool_dep}
887
893
${source_files}
888
894
${SWIFTFILE_DEPENDS}
@@ -909,6 +915,8 @@ function(_compile_swift_files
909
915
${command_touch_sib_outputs}
910
916
OUTPUT ${sib_outputs}
911
917
DEPENDS
918
+ "${line_directive_tool} "
919
+ "${file_path} "
912
920
${swift_compiler_tool_dep}
913
921
${source_files} ${SWIFTFILE_DEPENDS}
914
922
${create_dirs_dependency_target}
@@ -926,6 +934,8 @@ function(_compile_swift_files
926
934
${command_touch_sibopt_outputs}
927
935
OUTPUT ${sibopt_outputs}
928
936
DEPENDS
937
+ "${line_directive_tool} "
938
+ "${file_path} "
929
939
${swift_compiler_tool_dep}
930
940
${source_files} ${SWIFTFILE_DEPENDS}
931
941
${create_dirs_dependency_target}
@@ -944,6 +954,8 @@ function(_compile_swift_files
944
954
${command_touch_sibgen_outputs}
945
955
OUTPUT ${sibgen_outputs}
946
956
DEPENDS
957
+ "${line_directive_tool} "
958
+ "${file_path} "
947
959
${swift_compiler_tool_dep}
948
960
${source_files} ${SWIFTFILE_DEPENDS}
949
961
${create_dirs_dependency_target}
0 commit comments