From 0de697dd90c2ac8818b18940364c162543fa4a19 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 22 Jan 2013 01:44:00 +0000 Subject: [PATCH] [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF. llvm-svn: 173112 --- tools/bugpoint-passes/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 )