From: Douglas Gregor Date: Mon, 5 Oct 2009 22:25:29 +0000 (+0000) Subject: Make sure that libCIndex links as a C++ library X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2588830b8810cb5aa1dfd79fd6303b5b254d5584;p=clang Make sure that libCIndex links as a C++ library git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83331 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/CIndex/CMakeLists.txt b/tools/CIndex/CMakeLists.txt index 6f4122b00b..71bbde546a 100644 --- a/tools/CIndex/CMakeLists.txt +++ b/tools/CIndex/CMakeLists.txt @@ -21,3 +21,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") INSTALL_NAME_DIR "@executable_path/../lib" ) endif() + +set_target_properties(CIndex + PROPERTIES + LINKER_LANGUAGE CXX)