[llvm-branch-commits] [clang] 85ce339 - [cmake] Fix build of attribute plugin example on Windows
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 11 20:15:59 PST 2020
Author: Kristina Bessonova
Date: 2020-11-11T23:13:58-05:00
New Revision: 85ce339f1bd4af075aeb08f59a5a1da00993ce40
URL: https://github.com/llvm/llvm-project/commit/85ce339f1bd4af075aeb08f59a5a1da00993ce40
DIFF: https://github.com/llvm/llvm-project/commit/85ce339f1bd4af075aeb08f59a5a1da00993ce40.diff
LOG: [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
(cherry picked from commit 04ea680a8ccc4f9a4d7333cd712333960348c35b)
Added:
Modified:
clang/examples/Attribute/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/examples/Attribute/CMakeLists.txt b/clang/examples/Attribute/CMakeLists.txt
index ed02f5e5992f..42f04f5039bc 100644
--- a/clang/examples/Attribute/CMakeLists.txt
+++ b/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
More information about the llvm-branch-commits
mailing list