[PATCH] D69239: [CMake] Allow overriding MSVC_DIA_SDK_DIR via CMake

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 23:43:59 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe659fff2fb72: [CMake] Allow overriding MSVC_DIA_SDK_DIR via CMake (authored by mstorsjo).

Changed prior to commit:
  https://reviews.llvm.org/D69239?vs=225826&id=226001#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69239/new/

https://reviews.llvm.org/D69239

Files:
  llvm/cmake/config-ix.cmake


Index: llvm/cmake/config-ix.cmake
===================================================================
--- llvm/cmake/config-ix.cmake
+++ llvm/cmake/config-ix.cmake
@@ -474,7 +474,8 @@
   set(strdup "_strdup")
 
   # See if the DIA SDK is available and usable.
-  set(MSVC_DIA_SDK_DIR "$ENV{VSINSTALLDIR}DIA SDK")
+  set(MSVC_DIA_SDK_DIR "$ENV{VSINSTALLDIR}DIA SDK" CACHE PATH
+      "Path to the DIA SDK")
 
   # Due to a bug in MSVC 2013's installation software, it is possible
   # for MSVC 2013 to write the DIA SDK into the Visual Studio 2012


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69239.226001.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191022/74421aa2/attachment.bin>


More information about the llvm-commits mailing list