<div dir="ltr"><div>Hi Brad,</div><div><br></div>I can reproduce this on my other windows machine. Just a guess but it may be related to Update 1 of Visual Studio 2015. I can't test this hypothesis because I have update 1 installed on both machines. Note that everything works Ok for Visual Studio 2013.<div><br></div><div>Here are the details:</div><div><div>Here is the error:</div><div>"CMake Error at CMakeLists.txt:1 (project):</div><div>  Could not find an appropriate version of the Windows 10 SDK installed on</div><div>  this machine"</div><div>  </div><div>In CMakeOutput.log, there is one line:</div><div>"The system is: Windows - 10.0.10586 - AMD64"</div><div><br></div><div>On the machine I have the following SDK versions in C:\Program Files (x86)\Windows Kits\10:</div><div>10.0.10150.0 and 10.0.10240.0.</div><div><br></div><div>Installing the latest version of the SDK will fix this issue.</div><div><br></div><div>The compiler is: Visual Studio 14 2015 Win64. I am using update 1 for this compiler.</div><div><br></div><div>If I use Visual Studio 12 2013 Win64, everything is Ok.</div></div><div><br></div><div>Regards</div><div>   Andrew</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 21, 2016 at 12:26 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/19/2016 11:48 PM, Andrew Maclean wrote:<br>
> Works well, although I did find that I had to update my Windows SDK<br>
> to 10.0.10586.0 when using Visual Studio 2015 on Windows 10.<br>
> This is because CMake detected the system as Windows - 10.0.10586 - AMD64.<br>
> This was not the case with the previous version of CMake (3.4.1).<br>
<br>
</span>That is due to this fix:<br>
<span class=""><br>
 VS: Fix Windows 10 SDK version selection (#15831)<br>
</span> <a href="https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a57caf7e" rel="noreferrer" target="_blank">https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a57caf7e</a><br>
<br>
See commit message for details.  It shouldn't have /required/ you to<br>
update the SDK though because the fallback is now to just use the latest<br>
SDK available.  What indicated that you needed to update?<br>
<br>
Thanks,<br>
-Brad<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div>