VS: Add option for custom Win10 SDK version maximum
Since !2388 (merged) 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:
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 (closed)
Topic-rename: vs-win-sdk-custom-max
Edited by Brad King