Fix TD_ENABLE_DOTNET option value in example.

GitOrigin-RevId: f21feda5eb6c4fd1b6ba32f7e6e95a34a27a2f8f
This commit is contained in:
levlam 2019-01-22 16:36:59 +03:00
parent 542eb9e5c0
commit e01336c675

View File

@ -35,7 +35,7 @@ function prepare {
cd build-native
cmake $td_root -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=1
cmake $td_root -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON
CheckLastExitCode
cmake --build . --target prepare_cross_compiling
CheckLastExitCode
@ -56,7 +56,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=1
cmake "$td_root" -A $fixed_arch -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_TOOLCHAIN_FILE="$vcpkg_cmake" -DTD_ENABLE_DOTNET=ON
CheckLastExitCode
cd ..
}