Skip to content

Commit 20a76e8

Browse files
committed
build.ps1: enable Foundation tools on experimental SDK
When building the experimental SDK, build the foundation tools. This is needed to ensure that we can package the runtime without the legacy SDK.
1 parent b8b6d34 commit 20a76e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3249,7 +3249,7 @@ function Build-ExperimentalSDK([Hashtable] $Platform) {
32493249
CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib";
32503250
ENABLE_TESTING = "NO";
32513251

3252-
FOUNDATION_BUILD_TOOLS = "NO";
3252+
FOUNDATION_BUILD_TOOLS = if ($Platform.OS -eq [OS]::Windows) { "YES" } else { "NO" };
32533253
CURL_DIR = "$BinaryCache\$($Platform.Triple)\usr\lib\cmake\CURL";
32543254
LibXml2_DIR = "$BinaryCache\$($Platform.Triple)\usr\lib\cmake\libxml2-2.11.5";
32553255
ZLIB_INCLUDE_DIR = "$BinaryCache\$($Platform.Triple)\usr\include";

0 commit comments

Comments
 (0)