CMake target check.deps only exists when LLVM_INCLUDE_TESTS

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Gregor 2011-02-25 00:43:05 +00:00
Родитель dc355713be
Коммит 02bba191ed
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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