set(LLVM_NO_RTTI 1)

set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)

include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )

add_clang_library(clangStaticAnalyzerFrontend
  AnalysisConsumer.cpp
  CheckerRegistration.cpp
  FrontendActions.cpp
  )

add_dependencies(clangStaticAnalyzerFrontend
  clangStaticAnalyzerCheckers
  clangStaticAnalyzerCore
  ClangAttrClasses
  ClangAttrList
  ClangDeclNodes
  ClangStmtNode
  )

set(LLVM_NO_RTTI 1)

set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)

include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )

add_clang_library(clangStaticAnalyzerFrontend
  AnalysisConsumer.cpp
  CheckerRegistration.cpp
  FrontendActions.cpp
  )

add_dependencies(clangStaticAnalyzerFrontend
  clangStaticAnalyzerCheckers
  clangStaticAnalyzerCore
  ClangAttrClasses
  ClangAttrList
  ClangDeclNodes
  ClangStmtNodes
  )

Correct name of dependent target.
Correct name of dependent target.

CMake complained about this while generating VS project files but was
okay with it while generating makefiles on Linux.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@126090 91177308-0d34-0410-b5e6-96231b3b80d8
