[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
This commit is contained in:
NAKAMURA Takumi 2013-01-22 01:44:00 +00:00
parent ea0e78af6d
commit 7511aab27b

View File

@ -1,3 +1,7 @@
if( NOT LLVM_BUILD_TOOLS )
set(EXCLUDE_FROM_ALL ON)
endif()
add_llvm_loadable_module( BugpointPasses
TestPasses.cpp
)