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/ so try adding it to the linker command line
/usr/lib64/ could not read symbols: Invalid operation

No clue how to add libs in CMake.


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: