Skip to content

Commit 7ec9aa8

Browse files
authored
Merge pull request #22393 from nkcsgexi/toolchain-ver-drop
cmake: avoid passing toolchain version via -Wl when linking SwiftSyntax parser
2 parents 9b38073 + d458de7 commit 7ec9aa8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/libSwiftSyntaxParser/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ add_link_opts(libSwiftSyntaxParser)
2222

2323
if (SWIFT_LIBPARSER_VER)
2424
set(SWIFTSYNTAX_PARSER_VERSION_STRING "${SWIFT_LIBPARSER_VER}")
25-
elseif (DARWIN_TOOLCHAIN_VERSION)
26-
set(SWIFTSYNTAX_PARSER_VERSION_STRING "${DARWIN_TOOLCHAIN_VERSION}")
2725
else()
2826
set(SWIFTSYNTAX_PARSER_VERSION_STRING "${SWIFT_COMPILER_VERSION}")
2927
endif()

0 commit comments

Comments
 (0)