diff options
author | Brad King <brad.king@kitware.com> | 2020-01-10 18:17:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-10 18:20:03 (GMT) |
commit | ba3552dce59a368eb91e56c21de7d4e5a7b0de41 (patch) | |
tree | 759ecf78bcbad399403202617417c1b00ca96f98 /Modules/Platform | |
parent | a56b86294152df3ac9cd6d7efb89406cc64a2a87 (diff) | |
parent | 08c5b3eff04a4ecff94609af471b64de9264738f (diff) | |
download | CMake-ba3552dce59a368eb91e56c21de7d4e5a7b0de41.zip CMake-ba3552dce59a368eb91e56c21de7d4e5a7b0de41.tar.gz CMake-ba3552dce59a368eb91e56c21de7d4e5a7b0de41.tar.bz2 |
Merge topic 'GNUtoMS-vs2019'
08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4197
Diffstat (limited to 'Modules/Platform')
-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 cf85367..235d9ce 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") |