VS: Select latest available Windows SDK version by default
Add policy `CMP0149` to stop preferring SDKs exactly matching `CMAKE_SYSTEM_VERSION` over the latest SDK. Fixes: #16202
Showing
- Help/manual/cmake-policies.7.rst 1 addition, 0 deletionsHelp/manual/cmake-policies.7.rst
- Help/policy/CMP0149.rst 47 additions, 0 deletionsHelp/policy/CMP0149.rst
- Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.rst 3 additions, 0 deletionsHelp/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.rst
- Source/cmGlobalVisualStudio14Generator.cxx 7 additions, 4 deletionsSource/cmGlobalVisualStudio14Generator.cxx
- Source/cmPolicies.h 3 additions, 0 deletionsSource/cmPolicies.h
- Tests/RunCMake/GeneratorPlatform/RunCMakeTest.cmake 11 additions, 0 deletionsTests/RunCMake/GeneratorPlatform/RunCMakeTest.cmake
- Tests/RunCMake/GeneratorPlatform/VersionExists.cmake 3 additions, 0 deletionsTests/RunCMake/GeneratorPlatform/VersionExists.cmake
Loading
Please register or sign in to comment