Files
clang-p2996/clang/examples/Attribute/CMakeLists.txt
Kristina Bessonova 04ea680a8c [cmake] Fix build of attribute plugin example on Windows
Seems '${cmake_2_8_12_PRIVATE}' was removed a long time ago, so it should
be just PRIVATE keyword here.

Reviewed By: john.brawn

Differential Revision: https://reviews.llvm.org/D86091
2020-09-07 10:04:32 +02:00

12 lines
245 B
CMake

add_llvm_library(Attribute MODULE Attribute.cpp PLUGIN_TOOL clang)
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
target_link_libraries(Attribute PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
LLVMSupport
)
endif()