Skip to content

[Clang] Change Attribute plugin to link clang-cpp like other examples #109319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions clang/examples/Attribute/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
add_llvm_library(Attribute MODULE Attribute.cpp PLUGIN_TOOL clang)

if(WIN32 OR CYGWIN)
target_link_libraries(Attribute PRIVATE
set(LLVM_LINK_COMPONENTS
Support
)
clang_target_link_libraries(Attribute PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
LLVMSupport
)
endif()
Loading