FC10: strange cmake error

Ralf Corsepius rc040203 at freenet.de
Tue May 13 07:57:42 UTC 2008


On Mon, 2008-05-12 at 14:58 -0600, Orion Poplawski wrote:
> Ralf Corsepius wrote:
> > Hi,
> > 
> > I am facing a strange cmake-related error when trying to upgrade
> > OpenSceneGraph to version 2.4.0 on FC10:
> > 
> > ...
> > -- Looking for pthread_yield
> > CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE):
> >   Target "cmTryCompileExec" links to item " -lpthread" which has leading
> > or
> >   trailing whitespace.  This is now an error according to policy
> > CMP0004.
> 
> I think attached patch is what you need.  I think a lot of cmake users 
> (including myself) are confused about using lists.
> 
> Build: http://koji.fedoraproject.org/koji/taskinfo?taskID=605508
> 
> Still get a cmake warning, that probably needs to get fixed in cmake.
Thanks, everyone.

This patch at least gets building this package going again ;)

Ralf





More information about the fedora-devel-list mailing list