Skip to content

Commit 7c84d14

Browse files
author
Ross Bayer
committed
[Build System: CMake] Set the binary dir for the generated runtime headers to the source dir when building the standalone overlays (rdar://47558666).
1 parent 0181ea5 commit 7c84d14

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
@@ -61,7 +61,7 @@ precondition(TOOLCHAIN_DIR)
6161

6262
# Some overlays include the runtime's headers,
6363
# and some of those headers are generated at build time.
64-
add_subdirectory("${SWIFT_SOURCE_DIR}/include" "swift/include")
64+
add_subdirectory("${SWIFT_SOURCE_DIR}/include" "${SWIFT_SOURCE_DIR}/include")
6565
add_subdirectory("${SWIFT_SOURCE_DIR}/apinotes" "swift/apinotes")
6666

6767
# Without this line, installing components is broken. This needs refactoring.

0 commit comments

Comments
 (0)