<div dir="ltr">That did the trick! Thanks for helping this CMake newb out.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 11:38 AM, Ryan C. Gordon <span dir="ltr"><<a href="mailto:icculus@icculus.org" target="_blank">icculus@icculus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
set(CMAKE_SYSTEM_NAME Windows)<br>
</blockquote>
<br>
This is the magic that should avoid adding -rdynamic (it picks that up from the Modules/Platform/Linux-GNU.cma<wbr>ke file, wherever CMake is installed, and CMAKE_SYSTEM_NAME should tell it not to even look at that file).<br>
<br>
My _guess_ is that you have -rdynamic cached from a previous build attempt before you wrote the toolchain file. If I'm right (this is arguably a CMake bug, but), delete your build directory completely and let it start from scratch with your toolchain file, and see if that resolves it.<span class="HOEnZb"><font color="#888888"><br>
<br>
--ryan.<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jay Dolan<div>508-415-1866</div></div></div>
</div>