CMake 3.7.1 cannot find Windows 10 SDK
I've uninstalled and reinstalled the standalone SDK installer, I see the proper include files in the proper directory, I have Visual Studio 2015 Professional installed but still it says
A windows store component with CMake requires both the Windows Desktop SDK as well as the Windows Store '10.0' SDK. Please make sure that you have both installed.
Curiously, 8.1 doesn't have this problem. I don't know how to get any more info.
In CMakeSystem.cmake I see this:
set(CMAKE_HOST_SYSTEM "Windows-10.0.14393")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.14393")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
I also noticed that the registry key that 3.7.1 searches for is not present on my system ("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\"VisualStudio\\14.0\\Setup\\Build Tools for Windows 10;SrcPath"
)
But then again, the one that the "v120" generator looks for is not there either and it still works...how does CMake look for the Windows 10 SDK? What can I do to help it find it?