I think that will work. I will give it a shot and if not will ask more questions later. I didn't know check_c_source_compiles() existed. Thanks for the tip!<div><br></div><div>Steve<br><br><div class="gmail_quote">
2010/5/4 Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tuesday 04 May 2010, Steven Wilson wrote:<br>
> The CMake 2.8.0 documentation for try_compile() states:<br>
><br>
> Some extra flags that can be included are, INCLUDE_DIRECTORIES,<br>
> LINK_DIRECTORIES, and LINK_LIBRARIES.<br>
<br>
</div>I'd recommend not to use try_compile() directly.<br>
Did you try check_c_source_compiles() ? This is more high level.<br>
<br>
Does that work for you ?<br>
<br>
Alex<br>
</blockquote></div><br></div>