Skip to content

Commit e60fe92

Browse files
author
Davide Italiano
committed
[build-script] Pass CMAKE_OSX_SYSROOT to swift_cmake_options too.
1 parent 5b94396 commit e60fe92

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
@@ -615,6 +615,7 @@ function set_build_options_for_host() {
615615
-DSWIFT_DARWIN_DEPLOYMENT_VERSION_IOS="${DARWIN_DEPLOYMENT_VERSION_IOS}"
616616
-DSWIFT_DARWIN_DEPLOYMENT_VERSION_TVOS="${DARWIN_DEPLOYMENT_VERSION_TVOS}"
617617
-DSWIFT_DARWIN_DEPLOYMENT_VERSION_WATCHOS="${DARWIN_DEPLOYMENT_VERSION_WATCHOS}"
618+
-DCMAKE_OSX_SYSROOT:PATH="${cmake_os_sysroot}"
618619
)
619620
;;
620621
esac

0 commit comments

Comments
 (0)