[PATCH] D86091: [cmake] Fix build of attribute plugin example on Windows

Kristina Bessonova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 09:57:43 PDT 2020


krisb created this revision.
krisb added a reviewer: john.brawn.
Herald added subscribers: cfe-commits, mgorny.
Herald added a project: clang.
krisb requested review of this revision.

Seems '${cmake_2_8_12_PRIVATE}' was removed long time ago, so it should
be just PRIVATE keyword here.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86091

Files:
  clang/examples/Attribute/CMakeLists.txt


Index: clang/examples/Attribute/CMakeLists.txt
===================================================================
--- clang/examples/Attribute/CMakeLists.txt
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86091.286056.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200817/7673fe6f/attachment.bin>


More information about the cfe-commits mailing list