Skip to content

Commit 970f020

Browse files
authored
[CMake] Sema depends on Serialization these days. (#10968)
Specifically, it uses SerializedASTFile::getLanguageVersionBuiltWith to improve diagnostics. Not having this has led to failures on Linux, where linking order matters.
1 parent e1ece57 commit 970f020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sema/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ add_swift_library(swiftSema STATIC
5757
LINK_LIBRARIES
5858
swiftParse
5959
swiftAST
60+
swiftSerialization
6061
${EXTRA_TYPECHECKER_FLAGS}
6162
)
6263

0 commit comments

Comments
 (0)