Skip to content

Commit 6275b10

Browse files
authored
Merge pull request #22159 from Rostepher/fix-overlay-apinotes
[Build System: CMake] Set the binary dir for the bundled apinotes to the source dir when building the standalone overlays.
2 parents b08d4c3 + b88edd1 commit 6275b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/StandaloneOverlay.cmake

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

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

0 commit comments

Comments
 (0)