[cfe-commits] r126460 - /cfe/trunk/test/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Thu Feb 24 16:43:05 PST 2011
Author: dgregor
Date: Thu Feb 24 18:43:05 2011
New Revision: 126460
URL: http://llvm.org/viewvc/llvm-project?rev=126460&view=rev
Log:
CMake target check.deps only exists when LLVM_INCLUDE_TESTS
Modified:
cfe/trunk/test/CMakeLists.txt
Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=126460&r1=126459&r2=126460&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Thu Feb 24 18:43:05 2011
@@ -121,7 +121,10 @@
${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
More information about the cfe-commits
mailing list