[cmake] Fix build of attribute plugin example on Windows
authorKristina Bessonova <kbessonova@accesssoftek.com>
Mon, 7 Sep 2020 08:03:32 +0000 (10:03 +0200)
committerKristina Bessonova <kbessonova@accesssoftek.com>
Mon, 7 Sep 2020 08:04:32 +0000 (10:04 +0200)
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

clang/examples/Attribute/CMakeLists.txt

index ed02f5e..42f04f5 100644 (file)
@@ -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