Skip to content
  • jonathan molinatto's avatar
    VS: Generalize Win10 max SDK version to all VS generators · 1e67482d
    jonathan molinatto authored and Brad King's avatar Brad King committed
    The `CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM` variable added in
    CMake 3.19 by commit ba497111 (VS: Add option for custom Win10 SDK
    version maximum, 2020-08-20, v3.19.0-rc1~262^2) was documented as if it
    worked for all generators but implemented only to override CMake's
    builtin default for the VS 2015 max SDK version.  Generalize the
    variable to set a custom max SDK version for later VS versions too.
    
    Fixes: #21720
    1e67482d