summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-22 01:44:00 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-22 01:44:00 +0000
commit7511aab27ba0ee6afdc68c12488d7dbbbf53707c (patch)
tree8969bfb077e4c266b0cfbeecc068bfeda2da051f /tools
parentea0e78af6df0ce7041b74863e045482f2d00dcb6 (diff)
[CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint-passes/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bugpoint-passes/CMakeLists.txt b/tools/bugpoint-passes/CMakeLists.txt
index b2f1bb5d135..05f190a2a58 100644
--- a/tools/bugpoint-passes/CMakeLists.txt
+++ b/tools/bugpoint-passes/CMakeLists.txt
@@ -1,3 +1,7 @@
+if( NOT LLVM_BUILD_TOOLS )
+ set(EXCLUDE_FROM_ALL ON)
+endif()
+
add_llvm_loadable_module( BugpointPasses
TestPasses.cpp
)