Skip to content

Commit bb6c643

Browse files
authored
[CMake] Include apinotes in StandaloneOverlay.cmake (#21928)
...because the Darwin overlay is responsible for installing them. Context: Within Apple, overlays are sometimes built separately from the rest of the Swift project. This doesn't currently work with just the public repo (rdar://problem/47324189), but it could, and I broke it with my recent API notes cleanup. This should get things working again. rdar://problem/47294352
1 parent d685728 commit bb6c643

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/StandaloneOverlay.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ precondition(TOOLCHAIN_DIR)
6161
# Some overlays include the runtime's headers,
6262
# and some of those headers are generated at build time.
6363
add_subdirectory("${SWIFT_SOURCE_DIR}/include" "swift/include")
64+
add_subdirectory("${SWIFT_SOURCE_DIR}/apinotes" "swift/apinotes")
6465

6566
# Without this line, installing components is broken. This needs refactoring.
6667
swift_configure_components()

0 commit comments

Comments
 (0)