[CMake] Visual Studio 2017 could not be found if installed in non-default location

Nils Gladitz nilsgladitz at gmail.com
Mon Mar 27 09:46:12 EDT 2017


On 03/26/2017 11:01 AM, HarpyWar wrote:

> Output from vswhere.exe shows that Visual Studio is installed on disk C:\
> (https://github.com/Microsoft/vswhere)

Perhaps also try:

     vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 
-requires Microsoft.VisualStudio.Component.Windows10SDK

I think those are the default components CMake might expect when looking 
for compatible installations.

Nils




More information about the CMake mailing list