Make sure that libCIndex links as a C++ library

llvm-svn: 83331
This commit is contained in:
Douglas Gregor 2009-10-05 22:25:29 +00:00
parent f6ab1f0a4d
commit 629f4811a0
1 changed files with 4 additions and 0 deletions

View File

@ -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)