[PATCH] D56004: Fix mingw build failures caused by r349839
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 21 07:44:30 PST 2018
tstellar created this revision.
tstellar added a reviewer: SquallATF.
Herald added a subscriber: mgorny.
Repository:
rL LLVM
https://reviews.llvm.org/D56004
Files:
cmake/modules/AddLLVM.cmake
Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake
+++ cmake/modules/AddLLVM.cmake
@@ -658,6 +658,10 @@
set(install_type ARCHIVE)
endif()
+ if (ARG_MODULE)
+ set(install_type LIBRARY)
+ endif()
+
if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
NOT LLVM_DISTRIBUTION_COMPONENTS)
set(export_to_llvmexports EXPORT LLVMExports)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56004.179289.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/c3fc68c4/attachment.bin>
More information about the llvm-commits
mailing list