Default to latest VS version
This commit is contained in:
parent
87b3aa2aca
commit
70a6f2c5a2
@ -72,7 +72,7 @@ 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
|
||||
$vs="Visual Studio 17 2022" # or "Visual Studio 16 2019", etc., 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
|
||||
|
Loading…
Reference in New Issue
Block a user