CMake: llvm_map_components_to_libraries now returns system libs too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110563 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/cmake/modules/LLVMConfig.cmake b/cmake/modules/LLVMConfig.cmake
index 5c94b12..c623bfa 100755
--- a/cmake/modules/LLVMConfig.cmake
+++ b/cmake/modules/LLVMConfig.cmake
@@ -52,7 +52,8 @@
 # This is a variant intended for the final user:
 function(llvm_map_components_to_libraries OUT_VAR)
   explicit_map_components_to_libraries(result ${ARGN})
-  set( ${OUT_VAR} ${result} )
+  get_system_libs(sys_result)
+  set( ${OUT_VAR} ${result} ${sys_result} )
 endfunction(llvm_map_components_to_libraries)