On Wednesday 07 August 2013 15:02:53 you wrote:
> On Wednesday 07 August 2013 14:55:40 Jan Kundrát wrote:
> > Anyway, here are my suggestions:
> > 
> > - Set the POSITION_INDEPENDENT_CODE on a global basis to
> > prevent excess cmake clutter. Some distributions (Fedora)
> > strongly suggest to enable -fPIC on applications which
> > process untrusted input, and Trojita qualifies.
> > 
> > - When running on old cmake, check for gcc or clang and if
> > that is the case, manually add -fPIC to $CMAKE_CXX_FLAGS.
> > 
> > Cheers,
> > Jan
> 
> Ok.

I added cmake version and gnu compiler check to CMakeLists.txt and adding 
global -fPIC flag. So now it can be possible to use also older cmake.

Anyway, on my akonadi testing machine I have ubuntu precise with backported 
KDE and here I have cmake 2.8.9. I'm using kubuntu backport apt repository
http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ and there is new cmake. 
So maybe this can be solution for you too.

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to