summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-12-10 12:40:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-12-10 12:40:37 +0000
commitac85179219ca168322fe25e5ed4ce174e2f741a4 (patch)
treefcee3563e985b04de00e0c8510e8b2986f57804e /clang/examples/PrintFunctionNames
parent320b4d21c8508721b8426381b7c62447204f9972 (diff)
downloadbcm5719-llvm-ac85179219ca168322fe25e5ed4ce174e2f741a4.tar.gz
bcm5719-llvm-ac85179219ca168322fe25e5ed4ce174e2f741a4.zip
[CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt.
llvm-svn: 196916
Diffstat (limited to 'clang/examples/PrintFunctionNames')
-rw-r--r--clang/examples/PrintFunctionNames/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt
index ba6a350cd95..492b580c0ea 100644
--- a/clang/examples/PrintFunctionNames/CMakeLists.txt
+++ b/clang/examples/PrintFunctionNames/CMakeLists.txt
@@ -1,6 +1,8 @@
set(MODULE TRUE)
-set( LLVM_LINK_COMPONENTS support mc)
+set( LLVM_LINK_COMPONENTS
+ Support
+ )
add_clang_library(PrintFunctionNames PrintFunctionNames.cpp)
@@ -14,8 +16,9 @@ add_dependencies(PrintFunctionNames
)
target_link_libraries(PrintFunctionNames
- clangFrontend
clangAST
+ clangBasic
+ clangFrontend
)
set_target_properties(PrintFunctionNames
OpenPOWER on IntegriCloud