diff options
Diffstat (limited to 'clang-tools-extra/tool-template/CMakeLists.txt')
-rw-r--r-- | clang-tools-extra/tool-template/CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/clang-tools-extra/tool-template/CMakeLists.txt b/clang-tools-extra/tool-template/CMakeLists.txt index cf14a9f524c..8223e4c8881 100644 --- a/clang-tools-extra/tool-template/CMakeLists.txt +++ b/clang-tools-extra/tool-template/CMakeLists.txt @@ -1,6 +1,15 @@ +set(LLVM_LINK_COMPONENTS + Support + ) + add_clang_executable(tool-template ToolTemplate.cpp ) target_link_libraries(tool-template - clangEdit clangTooling clangBasic clangAST clangASTMatchers) + clangAST + clangASTMatchers + clangBasic + clangFrontend + clangTooling + ) |