Skip to content

Commit b6a4ef0

Browse files
authored
Merge pull request #24506 from compnerd/multiphasic-builds
build: make `SWIFT_BUILD_STDLIB` control the stdlib
2 parents 4d4d6f6 + 430df42 commit b6a4ef0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,9 @@ endif()
10491049
# created. This then will cause SwiftSyntax to fail to build.
10501050
#
10511051
# https://bugs.swift.org/browse/SR-5975
1052-
add_subdirectory(stdlib)
1052+
if(SWIFT_BUILD_STDLIB)
1053+
add_subdirectory(stdlib)
1054+
endif()
10531055

10541056
if(SWIFT_INCLUDE_APINOTES)
10551057
add_subdirectory(apinotes)

0 commit comments

Comments
 (0)