[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 19:46:32 PST 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 rL349990: Fix mingw build failures caused by r349839 (authored by tstellar, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56004/new/
https://reviews.llvm.org/D56004
Files:
llvm/trunk/cmake/modules/AddLLVM.cmake
Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/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.179406.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181222/ee58bd42/attachment.bin>
More information about the llvm-commits
mailing list