diff options
| author | Chris Bieneman <beanz@apple.com> | 2016-06-09 21:29:55 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2016-06-09 21:29:55 +0000 |
| commit | 28cdb677ed577efa1d38e1c7d24cfabe7204766b (patch) | |
| tree | cd34855e28e81ef560c8d3b0e3dc25fb83558810 /clang/examples | |
| parent | 17b3deeff3f0b246789c37911a445dbd4ad3456f (diff) | |
| download | bcm5719-llvm-28cdb677ed577efa1d38e1c7d24cfabe7204766b.tar.gz bcm5719-llvm-28cdb677ed577efa1d38e1c7d24cfabe7204766b.zip | |
[CMake] Cleaning up CMake feature gating on 2.8.12
CMake 2.8.12 introduced interface libraries and some related policies. This removes the conditional block because we're now past 2.8.12.
llvm-svn: 272312
Diffstat (limited to 'clang/examples')
| -rw-r--r-- | clang/examples/AnnotateFunctions/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | clang/examples/PrintFunctionNames/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | clang/examples/analyzer-plugin/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/examples/AnnotateFunctions/CMakeLists.txt b/clang/examples/AnnotateFunctions/CMakeLists.txt index 10e16f254df..cf564d527d6 100644 --- a/clang/examples/AnnotateFunctions/CMakeLists.txt +++ b/clang/examples/AnnotateFunctions/CMakeLists.txt @@ -1,7 +1,7 @@ add_llvm_loadable_module(AnnotateFunctions AnnotateFunctions.cpp) if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) - target_link_libraries(AnnotateFunctions ${cmake_2_8_12_PRIVATE} + target_link_libraries(AnnotateFunctions PRIVATE clangAST clangBasic clangFrontend diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt index e700281ab48..5a00d5036fb 100644 --- a/clang/examples/PrintFunctionNames/CMakeLists.txt +++ b/clang/examples/PrintFunctionNames/CMakeLists.txt @@ -12,7 +12,7 @@ endif() add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp) if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) - target_link_libraries(PrintFunctionNames ${cmake_2_8_12_PRIVATE} + target_link_libraries(PrintFunctionNames PRIVATE clangAST clangBasic clangFrontend diff --git a/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt index 1788d6c5cac..dcbe5c4e0e9 100644 --- a/clang/examples/analyzer-plugin/CMakeLists.txt +++ b/clang/examples/analyzer-plugin/CMakeLists.txt @@ -1,7 +1,7 @@ add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp) if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) - target_link_libraries(SampleAnalyzerPlugin ${cmake_2_8_12_PRIVATE} + target_link_libraries(SampleAnalyzerPlugin PRIVATE clangAnalysis clangAST clangStaticAnalyzerCore |

