Update CMake build corresponding to r170135.

Thanks to Saleem Abdulrasool, aka compnerd!

llvm-svn: 170136
This commit is contained in:
NAKAMURA Takumi 2012-12-13 16:24:59 +00:00
parent d93c8c008e
commit 62167ca254
1 changed files with 3 additions and 0 deletions

View File

@ -253,6 +253,9 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
add_definitions( -D_GNU_SOURCE )
# FIXME: They should be options.
add_definitions(-DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER)
# Clang version information
set(CLANG_EXECUTABLE_VERSION
"${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING