[llvm] r349990 - Fix mingw build failures caused by r349839
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 21 19:43:08 PST 2018
Author: tstellar
Date: Fri Dec 21 19:43:08 2018
New Revision: 349990
URL: http://llvm.org/viewvc/llvm-project?rev=349990&view=rev
Log:
Fix mingw build failures caused by r349839
Reviewers: mstorsjo
Subscribers: mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D56004
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=349990&r1=349989&r2=349990&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Fri Dec 21 19:43:08 2018
@@ -658,6 +658,10 @@ macro(add_llvm_library name)
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)
More information about the llvm-commits
mailing list