Skip to content

Commit d36b0b6

Browse files
committed
Compile all standard library as Swift 3 mode.
1 parent 6106868 commit d36b0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function(_compile_swift_files
269269
endif()
270270

271271
# Force swift 3 compatibility mode for Standard Library and overlay.
272-
if (SWIFTFILE_IS_STDLIB_CORE OR SWIFTFILE_IS_SDK_OVERLAY)
272+
if (SWIFTFILE_IS_STDLIB OR SWIFTFILE_IS_SDK_OVERLAY)
273273
list(APPEND swift_flags "-swift-version" "3")
274274
endif()
275275

0 commit comments

Comments
 (0)