Fix cmake dependency on llvm-c-test in test

llvm-svn: 193243
This commit is contained in:
Anders Waldenborg 2013-10-23 15:01:23 +00:00
parent 726a591482
commit 7ec37f8f3b
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ if( LLVM_USE_INTEL_JITEVENTS )
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-jitlistener)
endif( LLVM_USE_INTEL_JITEVENTS )
if( NOT MSVC )
set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-c-test)
endif( NOT MSVC )
add_lit_testsuite(check-llvm "Running the LLVM regression tests"
${CMAKE_CURRENT_BINARY_DIR}
PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg