Skip to content

Commit e209442

Browse files
Merge pull request #72465 from ian-twilightcoder/float_overlay_in_core
[CMake] Move ClangOverlays (_Builtin_float) to Core
2 parents 9b0c410 + 54927e2 commit e209442

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,16 +241,16 @@ if(SWIFT_BUILD_STDLIB)
241241
add_subdirectory(stubs)
242242
add_subdirectory(core)
243243
add_subdirectory(SwiftOnoneSupport)
244+
245+
if(SWIFT_BUILD_CLANG_OVERLAYS)
246+
add_subdirectory(ClangOverlays)
247+
endif()
244248
endif()
245249

246250
if(SWIFT_BUILD_STDLIB AND NOT SWIFT_STDLIB_BUILD_ONLY_CORE_MODULES)
247251
# In some internal Apple configurations we have the need
248252
# to build Core and Onone separately from the rest
249253
# of the stdlib
250-
if(SWIFT_BUILD_CLANG_OVERLAYS)
251-
add_subdirectory(ClangOverlays)
252-
endif()
253-
254254
if(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING)
255255
add_subdirectory(Differentiation)
256256
endif()

0 commit comments

Comments
 (0)