On Fri, Feb 11, 2011 at 1:47 AM, Michael Wild <span dir="ltr"><<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 02/11/2011 04:30 AM, Jack Poulson wrote:<br>
> This is occurring with CMake 2.8.3 on OSX for several different<br>
> check_function_exists calls. Is this expected behavior?<br>
><br>
> Jack<br>
<br>
</div></div>Seriously, we're going to need some more information than just "I get<br>
false positives"...<br>
<br></blockquote><div><br></div><div>I did not give any more information because, well, it seems to _always_ give false positives with those settings. I don't really care if it's fixed because I can easily work around it, but I thought I'd give you guys a heads up.</div>
<div><br></div><div>If it helps, this is the relevant snippet:</div><div><br></div><div>include(CheckFunctionExists)</div><div>set(CMAKE_REQUIRED_LIBRARIES ${MATH_LIBS})</div><div>check_function_exists(vdSin MKL)</div><div>
check_function_exists(vsin MASS)</div><div><br></div><div>If I run without --debug-trycompile when I am not linking in the MKL or MASS libraries, the routines vdSin and vsin are not found. When I run with --debug-trycompile, they are found. That's all I have time to give. Use it or not. I'm not asking for help.</div>
<div><br></div><div>Jack</div></div>