Don't refer to check.deps unless LLVM_INCLUDE_TESTS is enabled

llvm-svn: 135300
This commit is contained in:
Douglas Gregor 2011-07-15 21:03:20 +00:00
parent c1e40f8d26
commit 653b51a938
1 changed files with 2 additions and 2 deletions

View File

@ -97,9 +97,9 @@ if(PYTHONINTERP_FOUND)
${LLVM_BINARY_DIR}/test
${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Running Clang and LLVM regression tests")
add_dependencies(check-all check.deps clang-test.deps)
add_dependencies(check-all clang-test.deps)
if ( LLVM_INCLUDE_TESTS )
add_dependencies(clang-test.deps ClangUnitTests)
add_dependencies(clang-test.deps check.deps ClangUnitTests)
endif ( LLVM_INCLUDE_TESTS )
add_dependencies(clang-test.deps
llvm-dis llc opt