summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-04 13:02:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-11-04 13:03:22 (GMT)
commit7456127e013b45b85f200b173cdef01a1436b879 (patch)
tree0b4e8a27da0d26ac7240e1160093c7755c05a2b6 /Modules/Platform
parentb15ac6416c3744b9dc2bb499710941e7995b9cb5 (diff)
parent571a795d2fb33e4dfdc401fa824e27b86f8bbed7 (diff)
downloadCMake-7456127e013b45b85f200b173cdef01a1436b879.zip
CMake-7456127e013b45b85f200b173cdef01a1436b879.tar.gz
CMake-7456127e013b45b85f200b173cdef01a1436b879.tar.bz2
Merge topic 'GNUtoMS-vs2022' into release-3.22
571a795d2f GNUtoMS: Add search path for VS 2022 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6695
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index 3ca5053..51dc146 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -144,7 +144,7 @@ macro(__windows_compiler_gnu_abi lang)
# Query the VS Installer tool for locations of VS 2017 and above.
set(_vs_installer_paths "")
- foreach(vs RANGE 16 15 -1) # change the first number to the largest supported version
+ foreach(vs RANGE 17 15 -1) # change the first number to the largest supported version
cmake_host_system_information(RESULT _vs_dir QUERY VS_${vs}_DIR)
if(_vs_dir)
list(APPEND _vs_installer_paths "${_vs_dir}/VC/Auxiliary/Build")