Skip to content

Commit 4619b09

Browse files
Move the modules that depend on Darwin into the SWIFT_BUILD_TEST_SUPPORT_MODULES section
1 parent 9d00b8c commit 4619b09

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stdlib/private/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,24 @@ if(SWIFT_BUILD_SDK_OVERLAY OR (SWIFT_BUILD_TEST_SUPPORT_MODULES AND NOT SWIFT_BU
55
if(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING)
66
add_subdirectory(DifferentiationUnittest)
77
endif()
8+
add_subdirectory(SwiftPrivate)
89
endif()
910

1011
if(SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
11-
add_subdirectory(SwiftPrivate)
1212
add_subdirectory(RuntimeUnittest)
1313
add_subdirectory(StdlibUnicodeUnittest)
1414
add_subdirectory(StdlibCollectionUnittest)
15+
endif()
16+
17+
if(SWIFT_BUILD_SDK_OVERLAY OR (SWIFT_BUILD_TEST_SUPPORT_MODULES AND NOT SWIFT_BUILD_DYNAMIC_SDK_OVERLAY_default))
1518
add_subdirectory(SwiftPrivateLibcExtras)
1619
add_subdirectory(SwiftPrivateThreadExtras)
1720

1821
# NOTE(compnerd) this must come after SwiftPrivateLibcExtras and
1922
# SwiftPrivateThreadExtras to ensure that the dependency targets are setup in
2023
# the correct order for Windows.
2124
add_subdirectory(StdlibUnittest)
22-
endif()
2325

24-
if(SWIFT_BUILD_SDK_OVERLAY OR (SWIFT_BUILD_TEST_SUPPORT_MODULES AND NOT SWIFT_BUILD_DYNAMIC_SDK_OVERLAY_default))
2526
add_subdirectory(OSLog)
2627

2728
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")

0 commit comments

Comments
 (0)