diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-22 01:44:00 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-22 01:44:00 +0000 |
commit | 8f75355a129697176a12e481bcf59e3a6bc54494 (patch) | |
tree | 132df6fc72fab0e48154691e8cc826af6a3a22b0 /llvm/tools/bugpoint-passes | |
parent | 13615ede54427bcb1ba949f7acd0751ad33979bc (diff) | |
download | llvm-8f75355a129697176a12e481bcf59e3a6bc54494.zip llvm-8f75355a129697176a12e481bcf59e3a6bc54494.tar.gz llvm-8f75355a129697176a12e481bcf59e3a6bc54494.tar.bz2 |
[CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF.
llvm-svn: 173112
Diffstat (limited to 'llvm/tools/bugpoint-passes')
-rw-r--r-- | llvm/tools/bugpoint-passes/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/bugpoint-passes/CMakeLists.txt b/llvm/tools/bugpoint-passes/CMakeLists.txt index b2f1bb5..05f190a 100644 --- a/llvm/tools/bugpoint-passes/CMakeLists.txt +++ b/llvm/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 ) |