From f0aeabb5a61bd2ffeeee9bf6e43c6d21f312c96f Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 10 Apr 2014 15:47:04 +0000 Subject: [PATCH] AddLLVM: Mute the prefix "lib" in SHARED on win32. - LLVMSupport.dll - libLLVMSupport.dll.a git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205969 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/AddLLVM.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 41902d26052..df4aef62325 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -276,6 +276,11 @@ function(llvm_add_library name) endif() if(ARG_SHARED) + if(WIN32) + set_target_properties(${name} PROPERTIES + PREFIX "" + ) + endif() if (MSVC) set_target_properties(${name} PROPERTIES