Skip to content

Commit 6e6761e

Browse files
authored
Merge pull request swiftlang#31023 from apple/also-swift-needs-that
[build-script] Pass CMAKE_OSX_SYSROOT to swift_cmake_options too.
2 parents 8324fed + e60fe92 commit 6e6761e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ function set_build_options_for_host() {
620620
-DSWIFT_DARWIN_DEPLOYMENT_VERSION_IOS="${DARWIN_DEPLOYMENT_VERSION_IOS}"
621621
-DSWIFT_DARWIN_DEPLOYMENT_VERSION_TVOS="${DARWIN_DEPLOYMENT_VERSION_TVOS}"
622622
-DSWIFT_DARWIN_DEPLOYMENT_VERSION_WATCHOS="${DARWIN_DEPLOYMENT_VERSION_WATCHOS}"
623+
-DCMAKE_OSX_SYSROOT:PATH="${cmake_os_sysroot}"
623624
)
624625
;;
625626
esac

0 commit comments

Comments
 (0)