projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72d302
)
[CMake] Allow LLVM_TOOLCHAIN_TOOLS to be overridden
author
Chris Bieneman
<beanz@apple.com>
Thu, 10 Sep 2015 17:23:32 +0000
(17:23 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Thu, 10 Sep 2015 17:23:32 +0000
(17:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247306
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/AddLLVM.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/AddLLVM.cmake
b/cmake/modules/AddLLVM.cmake
index 8ec6311c3bf4dc5f3f776cc174dfdadd878eb661..fcf023becf50f34edb46e0121a86fbcbeec9285a 100644
(file)
--- a/
cmake/modules/AddLLVM.cmake
+++ b/
cmake/modules/AddLLVM.cmake
@@
-640,11
+640,12
@@
function(export_executable_symbols target)
endif()
endfunction()
-
-set (LLVM_TOOLCHAIN_TOOLS
- llvm-ar
- llvm-objdump
- )
+if(NOT LLVM_TOOLCHAIN_TOOLS)
+ set (LLVM_TOOLCHAIN_TOOLS
+ llvm-ar
+ llvm-objdump
+ )
+endif()
macro(add_llvm_tool name)
if( NOT LLVM_BUILD_TOOLS )