diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-08-22 15:50:02 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-08-22 15:50:02 +0000 |
commit | e638503d0dba2c02ab5254fe40d4e5385c3bf2a9 (patch) | |
tree | 09871abcb30d55c3523da2d866f78f66e276a581 /lib/FrontendTool | |
parent | 6a29f674f649197780a4c60602cd08f491022ac8 (diff) |
Fix dependencies now that the ARC migrator depends on the static analyzer.
Thanks for pointing this out, Stephen. I think this is right now -- I
attempted to try all four valid combinations with both the autoconf and
CMake builds.
See also LLVM changes to the configure script.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/FrontendTool')
-rw-r--r-- | lib/FrontendTool/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/FrontendTool/CMakeLists.txt b/lib/FrontendTool/CMakeLists.txt index 3e6aba441e..28a864a633 100644 --- a/lib/FrontendTool/CMakeLists.txt +++ b/lib/FrontendTool/CMakeLists.txt @@ -14,9 +14,14 @@ target_link_libraries(clangFrontendTool clangRewriteCore clangRewriteFrontend clangCodeGen - clangARCMigrate ) +if(CLANG_ENABLE_ARCMT) + target_link_libraries(clangFrontendTool + clangARCMigrate + ) +endif() + if(CLANG_ENABLE_STATIC_ANALYZER) target_link_libraries(clangFrontendTool clangStaticAnalyzerFrontend |