Win Cmake (Gui) require SDK 8.1 regardless of Installed SDK
VS 2017, C++, SDK 10.0.17763.0 , no 8.1 SDK, VS CMake tools, installed.
Used to work with CMake 3.10.2,
Same Cmake (purged etc ...) Failed after upgrade to Cmake 3.14
Seems related to the VCTargetsPath.vcxproj Cmake generated project used for checking compiler
CL was found
Link was found But link does failed because of a lib not found "cannot found ucrtd.lib'
This is normal (or at least explanation is rationnal) as without winsdk 8.1 the linker failed to found the proper lib.
in VCTargetsPath.vcxproj
Cmake version 3.10 does set it as
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
but
Cmake version 3.14 does set it as
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
No change of configuration of VS2017 between test.
"-T 10.0.17763.0" on the Edit box in UI doesn't improve or seem to be the answer.
Rolled back to Cmake 3.10.2
Thx