VS: 3.27.1 CMP0149 still honor CMAKE_SYSTEM_VERSION(<= 8.1)
When CMAKE_SYSTEM_VERSION <= 8.1
, and if the Windows Kit 8.1 is found, the 8.1 one is used forcely.
A real circumstance is that I need the CMAKE_SYSTEM_VERSION
to instruct a CMake-built library to set the _WIN32_WINNT
correcttly. However, that library uses C++17, which is not supported by Windows Kit 8.1.
I believe the goal of CMP0149 is to deal with such situation, or, is that implemented by designed?
The relating code's here.
Edited by Brad King