Fix cmake dependency on llvm-c-test in test
authorAnders Waldenborg <anders@0x63.nu>
Wed, 23 Oct 2013 15:01:23 +0000 (15:01 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Wed, 23 Oct 2013 15:01:23 +0000 (15:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193243 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt

index d900471d570fef572470e1f746a8f6e733800d00..8704a1076241eb979b9f31795c66aa5f1863d2e9 100644 (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