Skip to content

Commit

Permalink
[LLVM-C] Add LLVM-C.dll to Windows installer package
Browse files Browse the repository at this point in the history
This is a follow up to D56781, D56774 and D35077 to makes the LLVM-C.dll
file and LLVM-C.lib be installed on Windows, just like LTO.dll and
LTO.lib are.

Patch by Jakob Bornecrantz!

Differential revision: https://reviews.llvm.org/D63717

llvm-svn: 364275
zmodem committed Jun 25, 2019
1 parent fcad3bc commit 0d45eab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llvm/cmake/modules/AddLLVM.cmake
Original file line number Diff line number Diff line change
@@ -680,7 +680,9 @@ macro(add_llvm_library name)
elseif(ARG_BUILDTREE_ONLY)
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name})
else()
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LTO" OR
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR
${name} STREQUAL "LTO" OR
${name} STREQUAL "LLVM-C" OR
${name} STREQUAL "Remarks" OR
(LLVM_LINK_LLVM_DYLIB AND ${name} STREQUAL "LLVM"))

0 comments on commit 0d45eab

Please sign in to comment.