From dc7f1673bc62f6506d78da514630051a10655983 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 11 Jul 2014 14:36:28 +0000 Subject: [PATCH] [CMake] add_llvm_library: Add "RUNTIME DESTINATION bin" to install(). It affects add_library(SHARED) for Win32.DLL. llvm-svn: 212818 --- cmake/modules/AddLLVM.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 31540d96d31..3f11a7d77e2 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -364,6 +364,7 @@ macro(add_llvm_library name) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LTO") install(TARGETS ${name} EXPORT LLVMExports + RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endif()