We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1609088 commit a7bcdb4Copy full SHA for a7bcdb4
CMakeLists.txt
@@ -1112,6 +1112,13 @@ if(SWIFT_INCLUDE_TOOLS)
1112
# https://bugs.swift.org/browse/SR-5975
1113
add_subdirectory(tools)
1114
1115
+ # Localization targets are configured in a way that assume the swift
1116
+ # frontend is being built, so trying to include them for other builds
1117
+ # (like stdlib) fail!
1118
+ #
1119
+ # Diagnostics information is only useful for the frontend compiler
1120
+ # anyway, so let's only include it if the compiler is being built,
1121
+ # which at the moment seems like if SWIFT_INCLUDE_TOOLS is defined.
1122
add_subdirectory(localization)
1123
endif()
1124
0 commit comments