[CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF.

llvm-svn: 173112
This commit is contained in:
NAKAMURA Takumi 2013-01-22 01:44:00 +00:00
parent 13615ede54
commit 8f75355a12
1 changed files with 4 additions and 0 deletions

View File

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