[PATCH] D29952: Create msbuild only when using MSVC

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 13:36:22 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL297985: Create msbuild only when using MSVC (authored by rnk).

Changed prior to commit:
  https://reviews.llvm.org/D29952?vs=88406&id=92043#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29952

Files:
  llvm/trunk/tools/msbuild/CMakeLists.txt


Index: llvm/trunk/tools/msbuild/CMakeLists.txt
===================================================================
--- llvm/trunk/tools/msbuild/CMakeLists.txt
+++ llvm/trunk/tools/msbuild/CMakeLists.txt
@@ -1,4 +1,4 @@
-if (WIN32)
+if (MSVC)
   # CPack will install a registry key in this format that we wish to reference.
   set(REG_KEY "${CPACK_PACKAGE_INSTALL_REGISTRY_KEY}")
   set(LIB_PATH_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29952.92043.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170316/3ef58b41/attachment.bin>


More information about the llvm-commits mailing list