Skip to content
  • Brad King's avatar
    cmake: Fix default VS generator selection for Microsoft Build Tools · 5380948f
    Brad King authored
    Some versions of the VS tools do not install the registry entry
    
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\$v;InstallDir
    
    but all appear to set
    
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\$v\Setup\VC;ProductDir
    
    Update our search to consider both entries.
    
    Closes: #16360
    5380948f