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