FC10: strange cmake error

Gianluca Sforna giallu at gmail.com
Mon May 12 12:15:17 UTC 2008


On Mon, May 12, 2008 at 8:14 AM, Ralf Corsepius <rc040203 at freenet.de> wrote:
> -- 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.

It seems related to:

http://www.cmake.org/pipermail/cmake-commits/2008-March/003605.html

so you probably just need to find out where in OSG cmakefiles "
-lpthread" was added that leading whitespace and get rid of it.




More information about the fedora-devel-list mailing list