summaryrefslogtreecommitdiff
path: root/cmake/Modules/CompilerRTDarwinUtils.cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-09-25 22:39:19 +0000
committerChris Bieneman <beanz@apple.com>2015-09-25 22:39:19 +0000
commit72cc28cb69e49c3ed5d708b61e2e1145a4a117bc (patch)
tree734329cf48612f1ed9263dc85e5781bf8061d091 /cmake/Modules/CompilerRTDarwinUtils.cmake
parent36235330b9cbccabc81901b6870fd478a8e8cc04 (diff)
downloadcompiler-rt-72cc28cb69e49c3ed5d708b61e2e1145a4a117bc.tar.gz
[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
Diffstat (limited to 'cmake/Modules/CompilerRTDarwinUtils.cmake')
-rw-r--r--cmake/Modules/CompilerRTDarwinUtils.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/CompilerRTDarwinUtils.cmake b/cmake/Modules/CompilerRTDarwinUtils.cmake
index fe23ce1dd..5f9d819ee 100644
--- a/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/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