FC10: strange cmake error
Orion Poplawski
orion at cora.nwra.com
Mon May 12 20:58:37 UTC 2008
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.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenSceneGraph-2.4.0-cmake260.patch
Type: text/x-patch
Size: 1082 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080512/c4b7048f/attachment.bin>
More information about the fedora-devel-list
mailing list