aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-05 22:29:42 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-05 22:29:42 +0000
commit9a3dcf22342c4bf2be59ffd7abaebd4a9b0b1c4b (patch)
treef0291e5c26611a763d08a14ca2dc8baf7e4d437d
parent2588830b8810cb5aa1dfd79fd6303b5b254d5584 (diff)
Make sure that c-index-test links as a C++ executable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83335 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/c-index-test/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/c-index-test/CMakeLists.txt b/tools/c-index-test/CMakeLists.txt
index abf3cc4400..4c724659f6 100644
--- a/tools/c-index-test/CMakeLists.txt
+++ b/tools/c-index-test/CMakeLists.txt
@@ -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)
+