svn build fails: undefined ref 'XQueryColor'

I gather these Forums are preferred over the mailing list, so this is a duplicate of a list post.

Building svn 4677 on Fedora 13:

/usr/bin/ld: CMakeFiles/kdenlive.dir/colorpickerwidget.o: undefined
reference to symbol 'XQueryColor'
/usr/bin/ld: note: 'XQueryColor' is defined in DSO
/usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation

No clue how to add libs in CMake.

sean

Sorry for not responding on the mailing-list. I introduced colorpickerwidget but I'm also not familiar with this kind of stuff and for me it worked without modifying any CMake files.
Could you please retest with svn rev. 4680?
Also take a look at this bug report:
http://www.kdenlive.org/mantis/view.php?id=1723