Skip to content

Commit c929511

Browse files
committed
[CMake] Add the gyb target 'swift-parse-syntax-generated-headers' to LLVM_COMMON_DEPENDS
Since the generated headers are in 'include/swift/Parse' they are globally accessible so make sure they are created early on. If these get moved inside 'lib/Parse' then we can remove this dependency setting.
1 parent 4806fb1 commit c929511

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen clang-tablegen-targets)
1212

1313
# Add generated libSyntax headers to global dependencies.
1414
list(APPEND LLVM_COMMON_DEPENDS swift-syntax-generated-headers)
15+
list(APPEND LLVM_COMMON_DEPENDS swift-parse-syntax-generated-headers)
1516

1617
add_subdirectory(AST)
1718
add_subdirectory(ASTSectionImporter)

0 commit comments

Comments
 (0)