summaryrefslogtreecommitdiffstats
path: root/tools/arcmt-test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arcmt-test/CMakeLists.txt')
-rw-r--r--tools/arcmt-test/CMakeLists.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/arcmt-test/CMakeLists.txt b/tools/arcmt-test/CMakeLists.txt
index a0029b4..f36b14a 100644
--- a/tools/arcmt-test/CMakeLists.txt
+++ b/tools/arcmt-test/CMakeLists.txt
@@ -1,10 +1,6 @@
-set(LLVM_USED_LIBS
- clangARCMigrate
- clangEdit
- clangRewrite
- )
-
-set( LLVM_LINK_COMPONENTS
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ asmparser
support
mc
)
@@ -12,3 +8,9 @@ set( LLVM_LINK_COMPONENTS
add_clang_executable(arcmt-test
arcmt-test.cpp
)
+
+target_link_libraries(arcmt-test
+ clangARCMigrate
+ clangEdit
+ clangRewrite
+ )
OpenPOWER on IntegriCloud