]> granicus.if.org Git - clang/commitdiff
Make sure that c-index-test links as a C++ executable
authorDouglas Gregor <dgregor@apple.com>
Mon, 5 Oct 2009 22:29:42 +0000 (22:29 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 5 Oct 2009 22:29:42 +0000 (22:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83335 91177308-0d34-0410-b5e6-96231b3b80d8

tools/c-index-test/CMakeLists.txt

index abf3cc4400c378bd0af37fec0fef59399a47e488..4c724659f6f6516d34d5c27f442fa44e12ef2f20 100644 (file)
@@ -18,3 +18,8 @@ set( LLVM_LINK_COMPONENTS
 add_clang_executable(c-index-test
   c-index-test.c
   )
+
+set_target_properties(c-index-test
+  PROPERTIES
+  LINKER_LANGUAGE CXX)
+