https://github.com/Kitware/CMake
Revision ba497111f6541096313af187a1f70e4594a63059 authored by jonathan molinatto on 20 August 2020, 16:31:21 UTC, committed by Brad King on 25 August 2020, 19:27:38 UTC
Since commit 83ddc4d289 (VS: Do not select a Windows SDK too high for
current VS version, 2017-08-07, v3.13.0-rc1~72^2~2) we enforce a maximum
SDK version for the VS 2015 generator.  The blog post linked in the
original commit is no longer available, but it can be seen here:

* https://web.archive.org/web/20190108032520/https://blogs.msdn.microsoft.com/chuckw/2018/10/02/windows-10-october-2018-update/

In particular, it states:

> VS 2015 Users: The Windows 10 SDK (15063, 16299, 17134, 17763)
> is officially only supported for VS 2017.

However, in some circumstances a higher version can be used.

Add a `CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM` to override the
generator's default maximum SDK version.

Fixes: #20633
1 parent 8de3a25
History
Tip revision: ba497111f6541096313af187a1f70e4594a63059 authored by jonathan molinatto on 20 August 2020, 16:31:21 UTC
VS: Add option for custom Win10 SDK version maximum
Tip revision: ba49711

back to top