diff options
Diffstat (limited to 'lib/Basic/CMakeLists.txt')
-rw-r--r-- | lib/Basic/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Basic/CMakeLists.txt b/lib/Basic/CMakeLists.txt index 87bf834..91e7deb 100644 --- a/lib/Basic/CMakeLists.txt +++ b/lib/Basic/CMakeLists.txt @@ -1,10 +1,12 @@ -set(LLVM_NO_RTTI 1) +set(LLVM_LINK_COMPONENTS mc) add_clang_library(clangBasic Builtins.cpp ConvertUTF.c Diagnostic.cpp + DiagnosticIDs.cpp FileManager.cpp + FileSystemStatCache.cpp IdentifierTable.cpp SourceLocation.cpp SourceManager.cpp @@ -17,7 +19,9 @@ add_clang_library(clangBasic # Determine Subversion revision. # FIXME: This only gets updated when CMake is run, so this revision number # may be out-of-date! -find_package(Subversion) +if( NOT IS_SYMLINK "${CLANG_SOURCE_DIR}" ) # See PR 8437 + find_package(Subversion) +endif() if (Subversion_FOUND AND EXISTS "${CLANG_SOURCE_DIR}/.svn") Subversion_WC_INFO(${CLANG_SOURCE_DIR} CLANG) set_source_files_properties(Version.cpp |