diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-06-12 02:49:53 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-06-12 02:49:53 +0000 |
commit | af0f65fe6ad750983eadcb03b7c41143cca73298 (patch) | |
tree | d78693cbd527f5b0b182cd45125ffa6e51248df0 /cmake/modules | |
parent | 00c1073012553348528c783cb63508d19da898e6 (diff) | |
download | external_llvm-af0f65fe6ad750983eadcb03b7c41143cca73298.zip external_llvm-af0f65fe6ad750983eadcb03b7c41143cca73298.tar.gz external_llvm-af0f65fe6ad750983eadcb03b7c41143cca73298.tar.bz2 |
CMake: New variable LLVM_LIBDIR_SUFFIX.
Patch by Ingmar Vanhassel!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
-rwxr-xr-x | cmake/modules/AddLLVM.cmake | 4 | ||||
-rwxr-xr-x | cmake/modules/AddPartiallyLinkedObject.cmake | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index a21ed20..e525674 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -10,8 +10,8 @@ macro(add_llvm_library name) add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} ) endif( LLVM_COMMON_DEPENDS ) install(TARGETS ${name} - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) + LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} + ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endmacro(add_llvm_library name) diff --git a/cmake/modules/AddPartiallyLinkedObject.cmake b/cmake/modules/AddPartiallyLinkedObject.cmake index d20666d..0f92455 100755 --- a/cmake/modules/AddPartiallyLinkedObject.cmake +++ b/cmake/modules/AddPartiallyLinkedObject.cmake @@ -38,5 +38,5 @@ macro(add_partially_linked_object lib) set( llvm_lib_targets ${llvm_lib_targets} ${tnplo} PARENT_SCOPE ) endif( ) install(FILES ${pll} - DESTINATION lib) + DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endmacro(add_partially_linked_object lib) |