Add missing test dependency and use a more canonical target name.

llvm-svn: 223336
GitOrigin-RevId: c701dfa73e6fad736aeb1363910290a441511369
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 03c0899..79ca03c 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -24,6 +24,7 @@
           lli
           lli-child-target
           llvm-ar
+          llvm-ranlib
           llvm-as
           llvm-bcanalyzer
           llvm-c-test