]> granicus.if.org Git - clang/commitdiff
CMake target check.deps only exists when LLVM_INCLUDE_TESTS
authorDouglas Gregor <dgregor@apple.com>
Fri, 25 Feb 2011 00:43:05 +0000 (00:43 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 25 Feb 2011 00:43:05 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126460 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt

index 5e12d04baac1780ae0548d43ae675bdabafb852b..11525fb6c227cf7010620f57e745c2ed397c0403 100644 (file)
@@ -121,7 +121,10 @@ 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(check-all check.deps)
+    endif ( LLVM_INCLUDE_TESTS )
     add_dependencies(clang-test.deps
                      ClangUnitTests
                      llvm-dis opt