From 905f9fce0a2fe086082db05dbe2da790694b36d8 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 25 Sep 2015 22:39:19 +0000 Subject: [PATCH] [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. llvm-svn: 248630 --- compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index fe23ce1dd1e1..5f9d819ee6e2 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -194,6 +194,8 @@ function(darwin_lipo_libs name) 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