[CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Jan 2013 01:44:00 +0000 (01:44 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Jan 2013 01:44:00 +0000 (01:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173112 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint-passes/CMakeLists.txt

index b2f1bb5d1350a6071b98ed51d0e72431e7a6321b..05f190a2a586f9bc164bd2c5acfdeab49deaabd9 100644 (file)
@@ -1,3 +1,7 @@
+if( NOT LLVM_BUILD_TOOLS )
+  set(EXCLUDE_FROM_ALL ON)
+endif()
+
 add_llvm_loadable_module( BugpointPasses
   TestPasses.cpp
   )