mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
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
This commit is contained in:
commit
a7fc5df5d3
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user