[llvm] r193243 - Fix cmake dependency on llvm-c-test in test

Anders Waldenborg anders at 0x63.nu
Wed Oct 23 08:01:23 PDT 2013


Author: andersg
Date: Wed Oct 23 10:01:23 2013
New Revision: 193243

URL: http://llvm.org/viewvc/llvm-project?rev=193243&view=rev
Log:
Fix cmake dependency on llvm-c-test in test

Modified:
    llvm/trunk/test/CMakeLists.txt

Modified: llvm/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CMakeLists.txt?rev=193243&r1=193242&r2=193243&view=diff
==============================================================================
--- llvm/trunk/test/CMakeLists.txt (original)
+++ llvm/trunk/test/CMakeLists.txt Wed Oct 23 10:01:23 2013
@@ -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





More information about the llvm-commits mailing list