summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-10 18:17:52 +0000
committerKitware Robot <kwrobot@kitware.com>2020-01-10 13:20:03 -0500
commita7fc5df5d3cd1da907311ee8c57f9dbf74ff7bca (patch)
treef43f99982b4e128942b6ccd16e4156a33648c04e
parent213b03d27535b8235d1f48ea9270e10d604b8b2f (diff)
parent08c5b3eff04a4ecff94609af471b64de9264738f (diff)
downloadcmake-a7fc5df5d3cd1da907311ee8c57f9dbf74ff7bca.tar.gz
Merge topic 'GNUtoMS-vs2019' into release-3.16
08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4197
-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 71189b169b..6bf245c1a1 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -152,7 +152,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 15 15 -1) # change the first number to the largest supported version
+ foreach(vs RANGE 16 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")