File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ function(add_swift_target target)
97
97
${doc}
98
98
DEPENDS
99
99
${source}
100
+ ${AST_DEPENDS}
100
101
COMMAND
101
102
${CMAKE_SWIFT_COMPILER} -frontend ${flags} -emit-module-path ${mod} -emit-module-doc-path ${doc} -o ${obj} -c ${all_sources} )
102
103
@@ -119,6 +120,7 @@ function(add_swift_target target)
119
120
DEPENDS
120
121
${mods}
121
122
${docs}
123
+ ${AST_DEPENDS}
122
124
COMMAND
123
125
${CMAKE_SWIFT_COMPILER} -frontend ${flags} -sil-merge-partial-modules -emit-module ${mods} -o ${module} -emit-module-doc-path ${documentation} )
124
126
endif ()
@@ -131,6 +133,7 @@ function(add_swift_target target)
131
133
${AST_OUTPUT}
132
134
DEPENDS
133
135
${objs}
136
+ ${AST_DEPENDS}
134
137
COMMAND
135
138
${CMAKE_SWIFT_COMPILER} ${emit_library} ${link_flags} -o ${AST_OUTPUT} ${objs}
136
139
COMMAND
You can’t perform that action at this time.
0 commit comments