diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-09-10 21:13:16 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-09-10 21:13:16 +0000 |
commit | 5a7f34958ca6f2fa8a52e9921cf521cbb92ae070 (patch) | |
tree | 941eb8d3338ad2ca2c87281f023ed882a385dec2 /examples/PrintFunctionNames | |
parent | ce5eff5c813daead3f51dcfb8261a7b5643ede5c (diff) |
CMake: Update to use standard CMake dependency tracking facilities instead
of whatever we were using before...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/PrintFunctionNames')
-rw-r--r-- | examples/PrintFunctionNames/CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt index 5ea75db42e..cea15bf934 100644 --- a/examples/PrintFunctionNames/CMakeLists.txt +++ b/examples/PrintFunctionNames/CMakeLists.txt @@ -2,7 +2,16 @@ set(MODULE TRUE) set(LLVM_NO_RTTI 1) -add_clang_library(PrintFunctionNames PrintFunctionNames.cpp) +add_clang_library(PrintFunctionNames + PrintFunctionNames.cpp + ) + +target_link_libraries(PrintFunctionNames + clangAST + clangFrontend + clangBasic + ) + set_target_properties(PrintFunctionNames PROPERTIES |