Hello,

to link kontact shared plugin with all static trojita libraries 
is needed to compile trojita code with -fPIC gcc flag (position 
independent code). CMake has for it compiler independent 
property:

set_target_properties(AppVersion PROPERTIES 
POSITION_INDEPENDENT_CODE TRUE)

But POSITION_INDEPENDENT_CODE was added to cmake in version 
2.8.9. Now minimal required cmake version is 2.8.7. It is OK to 
increase minimal version? Or do you need also compatibility for 
cmake 2.8.7?

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

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

Reply via email to