From 70a6f2c5a2b6ed877d85a6383387319afe39e5dc Mon Sep 17 00:00:00 2001 From: Mark Wiemer Date: Tue, 3 Dec 2024 09:27:35 -0600 Subject: [PATCH] Default to latest VS version --- doc/compiling/windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/compiling/windows.md b/doc/compiling/windows.md index ca1a3be78..1b3bf987d 100644 --- a/doc/compiling/windows.md +++ b/doc/compiling/windows.md @@ -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