Skip to content

Commit 1a71794

Browse files
authored
Merge pull request #22133 from Rostepher/fix-overlay-builds
[Build System: CMake] Correctly set the Darwin deployment targets when building the overlay projects
2 parents f285ae4 + 7c84d14 commit 1a71794

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)