Fix PS syntax

This commit is contained in:
Mark Wiemer 2024-12-03 09:26:43 -06:00
parent 01048ee3ca
commit 87b3aa2aca

View File

@ -72,8 +72,8 @@ There are two ways to compile Luanti: via Visual Studio or via CLI.
While in the `path/to/minetest` folder, run the following script in PowerShell:
```powershell
vs="Visual Studio 16 2019" # or "Visual Studio 17 2022", whatever matches your system
toolchain_file="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" # ensure this path is correct
$vs="Visual Studio 16 2019" # or "Visual Studio 17 2022", whatever matches your system
$toolchain_file="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" # ensure this path is correct
cmake . -G $vs -DCMAKE_TOOLCHAIN_FILE=$toolchain_file -DCMAKE_BUILD_TYPE=Release -DENABLE_CURSES=OFF
cmake --build . --config Release
```