diff options
author | Brad King <brad.king@kitware.com> | 2021-11-04 13:02:50 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-11-04 13:03:22 (GMT) |
commit | bbc9a27e5f9d9cfa613a0dbe2f4b9c26f8f0e9ac (patch) | |
tree | d03564ae9102daf02421d48e63f5c2419c094554 /Modules | |
parent | 338c12152ae49c4c013c802481649d9ae3bc2abf (diff) | |
parent | 571a795d2fb33e4dfdc401fa824e27b86f8bbed7 (diff) | |
download | CMake-bbc9a27e5f9d9cfa613a0dbe2f4b9c26f8f0e9ac.zip CMake-bbc9a27e5f9d9cfa613a0dbe2f4b9c26f8f0e9ac.tar.gz CMake-bbc9a27e5f9d9cfa613a0dbe2f4b9c26f8f0e9ac.tar.bz2 |
Merge topic 'GNUtoMS-vs2022'
571a795d2f GNUtoMS: Add search path for VS 2022 environment scripts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6695
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-GNU.cmake | 2 |
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") |