Hi Jim,

On Tue, Mar 23, 2010 at 4:36 PM, Jim Brooks <[email protected]> wrote:
> Hi Robert,
>
> The "_np" suffix means a GNU Non-Portable extension.
>
> So pthread_setaffinity_np() isn't present on BSD UNIX.
>
> CHECK_FUNCTION_EXISTS(pthread_setaffinity_np HAVE_PTHREAD_SETAFFINITY_NP)

What I don't understand is why CHECK_FUNCTION_EXISTS isn't doing the
right thing, as this is specifically what this line the CMakeLists.txt
is supposed to be doing.

Is there any chance you have multiple pthread headers on your system?
Something else that is confusing CMake?  Perhaps a Cmake bug?  Which
version of CMake are you using?

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to