CMake: Append LLVM_LIBDIR_SUFFIX to library destination.

Based on a patch by Ingmar Vanhassel.

llvm-svn: 85276
This commit is contained in:
Oscar Fuentes 2009-10-27 19:42:21 +00:00
parent c14753b781
commit e6fc25321f
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ macro(add_clang_library name)
set_target_properties(${name} PROPERTIES COMPILE_FLAGS ${cflag})
endif(MSVC)
install(TARGETS ${name}
LIBRARY DESTINATION lib
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
endmacro(add_clang_library)