Permalink
Browse files

[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
  • Loading branch information...
1 parent ea0e78a commit 7511aab27ba0ee6afdc68c12488d7dbbbf53707c @chapuni chapuni committed Jan 22, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 tools/bugpoint-passes/CMakeLists.txt
View
4 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
)

0 comments on commit 7511aab

Please sign in to comment.