From 653b51a93803622c004d0e587e8bf4cdb8f7324a Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 15 Jul 2011 21:03:20 +0000 Subject: [PATCH] Don't refer to check.deps unless LLVM_INCLUDE_TESTS is enabled llvm-svn: 135300 --- clang/test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 24dcd3b8c337..0f00e5075a52 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -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