From e49135e54282598536189aaf728b080e063ed1a2 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 16 Aug 2022 13:28:34 +0300 Subject: [PATCH] Use 32-bit native build in UWP example. --- example/uwp/build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/uwp/build.ps1 b/example/uwp/build.ps1 index 755b090ef..587945a4b 100644 --- a/example/uwp/build.ps1 +++ b/example/uwp/build.ps1 @@ -41,7 +41,7 @@ function prepare { cd build-native - cmake "$td_root" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON + cmake -A Win32 -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON "$td_root" CheckLastExitCode cmake --build . --target prepare_cross_compiling CheckLastExitCode @@ -62,7 +62,7 @@ function config { if ($arch -eq "x86") { $fixed_arch = "win32" } - cmake "$td_root" -A $fixed_arch -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON + cmake -A $fixed_arch -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON "$td_root" CheckLastExitCode cd .. }