Skip to content

Commit 5a4db8e

Browse files
committed
Merge pull request #2057 from apple/move-Platform-to-SDK-overlay
2 parents 9976eff + 6cfb82b commit 5a4db8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ if(SWIFT_BUILD_STDLIB)
3131
add_subdirectory(stubs)
3232
add_subdirectory(core)
3333
add_subdirectory(SwiftOnoneSupport)
34-
add_subdirectory(Platform)
3534
add_subdirectory(Reflection)
3635
endif()
3736

37+
if(SWIFT_BUILD_SDK_OVERLAY)
38+
add_subdirectory(Platform)
39+
endif()
40+
3841
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
3942
if(SWIFT_BUILD_SDK_OVERLAY)
4043
add_subdirectory(SDK)

0 commit comments

Comments
 (0)