<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> Date: Fri, 18 Jul 2014 12:46:34 -0500<br>> From: steve@borho.org<br>> To: x265-devel@videolan.org<br>> Subject: Re: [x265] Fix dll installation,      only affects win32 platforms (mingw)<br>> <br>> On 07/17, xantares 09 wrote:<br>> > # HG changeset patch<br>> > # User xantares <xantares09@hotmail.com><br>> <br>> We require full names for commit user-name<br>Michel Zou<br>> <br>> > # Date 1405582179 -7200<br>> > # Node ID e16d42ca677c83d9a70e143091949c1861487181<br>> > # Parent  f0d157944c556ab6ea77060b5c49093e356664df<br>> > Fix dll installation directory.<br>> <br>> More info about the bug you are fixing would be useful.<br>It fixes the dll install location; it should go to <prefix>/bin, instead of <prefix>/lib.<br>> <br>> > diff -r f0d157944c55 -r e16d42ca677c source/CMakeLists.txt<br>> > --- a/source/CMakeLists.txt     Thu Jul 17 00:37:00 2014 -0500<br>> > +++ b/source/CMakeLists.txt     Thu Jul 17 09:29:39 2014 +0200<br>> > @@ -285,7 +285,8 @@<br>> >          set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG})<br>> >          install(TARGETS x265-shared<br>> >                  LIBRARY DESTINATION ${LIB_INSTALL_DIR}<br>> > -                ARCHIVE DESTINATION ${LIB_INSTALL_DIR})<br>> > +                ARCHIVE DESTINATION ${LIB_INSTALL_DIR}<br>> > +                RUNTIME DESTINATION ${BIN_INSTALL_DIR})<br>> <br>> Ah, I guess on Windows the DLL is considered a RUNTIME and not a LIBRARY<br>Yeah that's it, the shared library (.dll) is considered RUNTIME and the import library (.dll.a on msvc or .lib on msvc)                  as LIBRARY.<br>> <br>> >      endif()<br>> >  endif()<br>> >                                            <br>> <br>> > _______________________________________________<br>> > x265-devel mailing list<br>> > x265-devel@videolan.org<br>> > https://mailman.videolan.org/listinfo/x265-devel<br>> <br>> <br>> -- <br>> Steve Borho<br>> _______________________________________________<br>> x265-devel mailing list<br>> x265-devel@videolan.org<br>> https://mailman.videolan.org/listinfo/x265-devel<br></div>                                           </div></body>
</html>