[cmake-developers] [CMake 0015662]: CMake looks in the wrong locations for Windows/Windows Phone SDKs with Visual Studio 2015

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 23 14:20:17 EDT 2015


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                                   

======================================================================



More information about the cmake-developers mailing list