diff --git a/CMakeLists.txt b/CMakeLists.txt index 04cc921ef070..2c07e84a293a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -727,6 +727,7 @@ if( LLVM_INCLUDE_TESTS ) DEPENDS ${LLVM_LIT_DEPENDS} ARGS ${LLVM_LIT_EXTRA_ARGS} ) + add_custom_target(test-depends DEPENDS ${LLVM_LIT_DEPENDS}) endif() if (LLVM_INCLUDE_DOCS)