From 9a3dcf22342c4bf2be59ffd7abaebd4a9b0b1c4b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 5 Oct 2009 22:29:42 +0000 Subject: [PATCH] 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 --- tools/c-index-test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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) +