Skip to content

Commit 183a7c6

Browse files
authored
[CMake] Add dependencies for swift-syntax-generated-headers (#13203)
rdar://problem/35725453
1 parent 7e6f7e1 commit 183a7c6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/Frontend/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ add_swift_library(swiftFrontend STATIC
55
FrontendOptions.cpp
66
PrintingDiagnosticConsumer.cpp
77
SerializedDiagnosticConsumer.cpp
8-
DEPENDS SwiftOptions
8+
DEPENDS
9+
SwiftOptions
10+
swift-syntax-generated-headers
911
LINK_LIBRARIES
1012
swiftSIL
1113
swiftMigrator

lib/Migrator/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ add_swift_library(swiftMigrator STATIC
4444
RewriteBufferEditsReceiver.cpp
4545
TupleSplatMigratorPass.cpp
4646
TypeOfMigratorPass.cpp
47+
DEPENDS
48+
swift-syntax-generated-headers
4749
LINK_LIBRARIES swiftSyntax swiftIDE)
4850

4951
add_dependencies(swiftMigrator

0 commit comments

Comments
 (0)