[CMake] [darwin] [builtins] Should install the lipo'd builtin libraries.
On darwin we don't install the single-architecture builtin libraries, but we do need to install the lipo'd ones.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248630 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/cmake/Modules/CompilerRTDarwinUtils.cmake b/cmake/Modules/CompilerRTDarwinUtils.cmake
index fe23ce1..5f9d819 100644
--- a/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -194,6 +194,8 @@
add_custom_target(${name}
DEPENDS ${COMPILER_RT_LIBRARY_OUTPUT_DIR}/lib${name}.a)
add_dependencies(${LIB_PARENT_TARGET} ${name})
+ install(FILES ${COMPILER_RT_LIBRARY_OUTPUT_DIR}/lib${name}.a
+ DESTINATION ${COMPILER_RT_INSTALL_PATH})
endfunction()
# Filter out generic versions of routines that are re-implemented in