[PATCH] D50335: vs integration: fix default path to clang-cl

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 7 02:02:43 PDT 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL339117: vs integration: fix default path to clang-cl (authored by hans, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D50335?vs=159307&id=159469#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50335

Files:
  llvm/trunk/tools/msbuild/LLVM.Cpp.Common.props


Index: llvm/trunk/tools/msbuild/LLVM.Cpp.Common.props
===================================================================
--- llvm/trunk/tools/msbuild/LLVM.Cpp.Common.props
+++ llvm/trunk/tools/msbuild/LLVM.Cpp.Common.props
@@ -37,8 +37,9 @@
 
   <!-- Find an installed LLVM and set up our paths. -->
   <PropertyGroup>
-    <LLVMInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM at LLVM)</LLVMInstallDir>
-    <LLVMInstallDir Condition="'$(LLVMInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM at LLVM)</LLVMInstallDir>
+    <LLVMInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM\LLVM)</LLVMInstallDir>
+    <LLVMInstallDir Condition="'$(LLVMInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM\LLVM)</LLVMInstallDir>
+    <LLVMInstallDir Condition="'$(LLVMInstallDir)' != ''">$(LLVMInstallDir)\</LLVMInstallDir>
     <ClangClExecutable>$(LLVMInstallDir)bin\clang-cl.exe</ClangClExecutable>
   </PropertyGroup>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50335.159469.patch
Type: text/x-patch
Size: 967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180807/7158c4c1/attachment.bin>


More information about the llvm-commits mailing list