From b0d8671f95fe08a220118bca29063ba4d11a9dac Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 21 Jun 2012 01:30:21 +0000 Subject: Remove a goofy CMake hack and use the standard CMake facilities to express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158888 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/c-arcmt-test/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/c-arcmt-test') diff --git a/tools/c-arcmt-test/CMakeLists.txt b/tools/c-arcmt-test/CMakeLists.txt index 351f4adca1..1e72261b21 100644 --- a/tools/c-arcmt-test/CMakeLists.txt +++ b/tools/c-arcmt-test/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_USED_LIBS libclang) - set( LLVM_LINK_COMPONENTS support mc @@ -9,6 +7,10 @@ add_clang_executable(c-arcmt-test c-arcmt-test.c ) +target_link_libraries(c-arcmt-test + libclang + ) + set_target_properties(c-arcmt-test PROPERTIES LINKER_LANGUAGE CXX) -- cgit v1.2.3