summaryrefslogtreecommitdiff
path: root/cmake/modules/AddPartiallyLinkedObject.cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-10-22 02:56:07 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-10-22 02:56:07 +0000
commit1dc9716121ed3da5ffae3eb25031469620f275e8 (patch)
tree54f8fc6127c287475e46d17162c7f3ad1e17a7ba /cmake/modules/AddPartiallyLinkedObject.cmake
parent57bd83be198ee36df82820de56639c19e40aff81 (diff)
downloadllvm-1dc9716121ed3da5ffae3eb25031469620f275e8.tar.gz
llvm-1dc9716121ed3da5ffae3eb25031469620f275e8.tar.bz2
llvm-1dc9716121ed3da5ffae3eb25031469620f275e8.tar.xz
CMake: `make install' for libraries, executables and header files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/AddPartiallyLinkedObject.cmake')
-rwxr-xr-xcmake/modules/AddPartiallyLinkedObject.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/AddPartiallyLinkedObject.cmake b/cmake/modules/AddPartiallyLinkedObject.cmake
index 6968857db8..4aba81f9c8 100755
--- a/cmake/modules/AddPartiallyLinkedObject.cmake
+++ b/cmake/modules/AddPartiallyLinkedObject.cmake
@@ -32,4 +32,6 @@ macro(add_partially_linked_object lib)
set( llvm_libs ${llvm_libs} ${pll} PARENT_SCOPE)
set( llvm_lib_targets ${llvm_lib_targets} ${tnplo} PARENT_SCOPE )
endif( MSVC )
+ install(FILES ${pll}
+ DESTINATION lib)
endmacro(add_partially_linked_object lib)