<div dir="ltr"><div>Thanks. The patch looks simple enough, but apparently it's true on windows only when using the Cygwin version of cmake (<a href="https://cmake.org/Wiki/CMake_Useful_Variables" target="_blank">https://cmake.org/Wiki/CMake_Useful_Variables</a>)<br><br></div><div>What cmake generator did you use?<br></div><div><div> <br></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 4, 2015 at 2:04 AM, Phil Rosenberg <span dir="ltr"><<a href="mailto:p.d.rosenberg@gmail.com" target="_blank">p.d.rosenberg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
This is my first post to the x265 list. It's regarding a build problem<br>
I am having on Cygwin. I can't profess to know much about x265, in<br>
fact the main reason I am involved is because someone I know wanted it<br>
built for integration into ffmpeg on Windows. To do so I set him up<br>
with a Cygwin environment and generally everything went smoothly -<br>
surprisingly so. However I did hit one snag. The linker options picked<br>
up by CMake are for Linux builds and do not work for Cygwin.<br>
<br>
I've attached a patch that fixes the problem. I'm not great with<br>
CMake, so if anyone wants to rewrite it in a more elegant fashion then<br>
feel free.<br>
<br>
Hope it helps<br>
<span><font color="#888888"><br>
Phil<br>
</font></span><br>_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div>Deepthi Nandakumar<br></div>Engineering Manager, x265<br></div>Multicoreware, Inc<br></div></div>
</div></div>