From 7511aab27ba0ee6afdc68c12488d7dbbbf53707c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 22 Jan 2013 01:44:00 +0000 Subject: [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 --- tools/bugpoint-passes/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/bugpoint-passes') diff --git a/tools/bugpoint-passes/CMakeLists.txt b/tools/bugpoint-passes/CMakeLists.txt index b2f1bb5d13..05f190a2a5 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 ) -- cgit v1.2.3