Skip to content

Commit

Permalink
[cmake] Fix build of attribute plugin example on Windows
Browse files Browse the repository at this point in the history
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

(cherry picked from commit 04ea680)
  • Loading branch information
chbessonova authored and tstellar committed Nov 12, 2020
1 parent ef4ffca commit 85ce339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/examples/Attribute/CMakeLists.txt
@@ -1,7 +1,7 @@
add_llvm_library(Attribute MODULE Attribute.cpp PLUGIN_TOOL clang)

if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
target_link_libraries(Attribute ${cmake_2_8_12_PRIVATE}
target_link_libraries(Attribute PRIVATE
clangAST
clangBasic
clangFrontend
Expand Down

0 comments on commit 85ce339

Please sign in to comment.