VS integration: use the correct registry key after r195379
authorHans Wennborg <hans@hanshq.net>
Fri, 22 Nov 2013 18:25:43 +0000 (18:25 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 22 Nov 2013 18:25:43 +0000 (18:25 +0000)
I changed the registry key in that commit, but forgot to update
the integration files. This change makes them use the same variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195479 91177308-0d34-0410-b5e6-96231b3b80d8

tools/msbuild/CMakeLists.txt

index c725ab7..08b8aee 100644 (file)
@@ -7,7 +7,7 @@ if (WIN32)
   set(prop_file_v120_xp "toolset-vs2013_xp.props")
 
   # CPack will install a registry key in this format that we wish to reference.
-  set(REG_KEY "${CMAKE_PROJECT_NAME} ${CPACK_PACKAGE_VERSION}")
+  set(REG_KEY "${CPACK_PACKAGE_INSTALL_REGISTRY_KEY}")
 
   set(VS_VERSION "v100")
   set(MSC_VERSION "1600")