Hello Art,
> I can remove the pthread dependency, however they are
> needed for proper static linking. It seems that since
> osg depends on OpenThreads and OpenThreads depends on
> pthread, this pthread requirement is needed.
> However you are right. For dynamic linking I do not
> need the extra pthread linking. Hence I do not know
> now, should I remove it, or not??? I will remove it
> and test again and then maybe submit the change to the
> CMakeFiles.txt
Ah, I understand. Perhaps then you could put it in a section only for
the static link projects, something like
IF (!DYNAMIC_OSGPPU)
LINK_EXTERNAL(${TARGET_TARGETNAME} pthread)
ENDIF(!DYNAMIC_OSGPPU)
instead of removing the line completely... (not sure if ! is right in
CMake syntax, or if it's "NOT" or whatever, but you get the point...)
J-S
--
______________________________________________________
Jean-Sébastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org