summaryrefslogtreecommitdiff
path: root/cmake/modules/AddLLVM.cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-04-10 15:47:04 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-04-10 15:47:04 +0000
commitf0aeabb5a61bd2ffeeee9bf6e43c6d21f312c96f (patch)
tree9e35f1915fca9093c100475559b8dcc81a975179 /cmake/modules/AddLLVM.cmake
parentd95a78ca52cf3c6420ae97e4d1995f863b7407a1 (diff)
downloadllvm-f0aeabb5a61bd2ffeeee9bf6e43c6d21f312c96f.tar.gz
llvm-f0aeabb5a61bd2ffeeee9bf6e43c6d21f312c96f.tar.bz2
llvm-f0aeabb5a61bd2ffeeee9bf6e43c6d21f312c96f.tar.xz
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
Diffstat (limited to 'cmake/modules/AddLLVM.cmake')
-rw-r--r--cmake/modules/AddLLVM.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 41902d2605..df4aef6232 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