[CMake] Fix a typo in add_compiler_rt_library.

llvm-svn: 262063
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index 2ed80c0..13b85338 100644
--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -196,7 +196,7 @@
     endif()
   endforeach()
   if(LIB_PARENT_TARGET)
-    add_dependencies(${LIB_PARENT_TARGET} ${libname})
+    add_dependencies(${LIB_PARENT_TARGET} ${libnames})
   endif()
 endfunction()