From: NAKAMURA Takumi Date: Tue, 22 Jan 2013 01:44:00 +0000 (+0000) Subject: [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7511aab27ba0ee6afdc68c12488d7dbbbf53707c;p=oota-llvm.git [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 --- 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 )