Skip to content

Commit a8a9978

Browse files
authored
Merge pull request #22135 from Rostepher/fix-overlay-builds-5.0
[Build System: CMake] Correctly set the Darwin deployment targets when building the overlay projects (5.0 branch).
2 parents dfdb6b4 + 6ed5473 commit a8a9978

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
@@ -60,7 +60,7 @@ precondition(TOOLCHAIN_DIR)
6060

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

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

0 commit comments

Comments
 (0)