Skip to content

Commit 52ee725

Browse files
author
Lance Parker
committed
Enable Swift 4 mode for the overlays
1 parent c1ac1cd commit 52ee725

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
@@ -257,7 +257,7 @@ function(_compile_swift_files
257257
endif()
258258

259259
# Force swift 3 compatibility mode for Standard Library and overlay.
260-
if (SWIFTFILE_IS_STDLIB OR SWIFTFILE_IS_SDK_OVERLAY)
260+
if (SWIFTFILE_IS_STDLIB)
261261
list(APPEND swift_flags "-swift-version" "3")
262262
endif()
263263

0 commit comments

Comments
 (0)