The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15662 ====================================================================== Reported By: D.E. Goodman-Wilson Assigned To: ====================================================================== Project: CMake Issue ID: 15662 Category: CMake Reproducibility: always Severity: major Priority: urgent Status: new ====================================================================== Date Submitted: 2015-07-23 14:20 EDT Last Modified: 2015-07-23 14:20 EDT ====================================================================== Summary: CMake looks in the wrong locations for Windows/Windows Phone SDKs with Visual Studio 2015 Description: With Visual Studio 2015, the locations of the registry keys for the Windows SDK and WIndows Phone SDK have changed, and so the VS 2015 generator—which relies on the VS 2013 registry settings—generates errors wrongly.
Steps to Reproduce: On a freshly installed system with no prior installation of Visual Studio 2013, and a fresh installation of Visual Studio 2015 with Windows SDK 8.1 and Windows Phone SDK 8.1 installed, attempt to cmake a project with set(CMAKE_SYSTEM_NAME "WindowsPhone") set(CMAKE_SYSTEM_VERSION "8.1") The following error is generated: -- Building for: Visual Studio 14 2015 CMake Error at CMakeLists.txt:2 (project): A Windows Phone component with CMake requires both the Windows Desktop SDK as well as the Windows Phone '8.1' SDK. Please make sure that you have both installed Additional Information: I can't find the new Windows Phone SDK registry keys, but they are not where cmake is expecting them for sure. The new WIndows SDK is now located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\InstallationFolder ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-07-23 14:20 D.E. Goodman-WilsonNew Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers