]> granicus.if.org Git - llvm/commitdiff
Merging r195479:
authorBill Wendling <isanbard@gmail.com>
Mon, 25 Nov 2013 05:23:29 +0000 (05:23 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 25 Nov 2013 05:23:29 +0000 (05:23 +0000)
------------------------------------------------------------------------
r195479 | hans | 2013-11-22 10:25:43 -0800 (Fri, 22 Nov 2013) | 4 lines

VS integration: use the correct registry key after r195379

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/branches/release_34@195607 91177308-0d34-0410-b5e6-96231b3b80d8

tools/msbuild/CMakeLists.txt

index c725ab79e25ca01166175b1bdf9f2f0bd3aff9fe..08b8aee9788b9e3c6a2136c8fb54bee05233d523 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")