]> granicus.if.org Git - clang/commitdiff
CMake: Append LLVM_LIBDIR_SUFFIX to library destination.
authorOscar Fuentes <ofv@wanadoo.es>
Tue, 27 Oct 2009 19:42:21 +0000 (19:42 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Tue, 27 Oct 2009 19:42:21 +0000 (19:42 +0000)
Based on a patch by Ingmar Vanhassel.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85276 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 0cd52d0d946b573dc6885ce456391695802be696..56212f1639f4d55888e57fbc4267fb07d43e27fa 100644 (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)