Use POSITION_INDEPENDENT_CODE property instead of COMPILE_FLAG -fPIC #3
Συγχωνευμένα
SlavekB
συγχώνευσε 1 υποβολές από bug/2985/propertyPIC σε master 6 έτη πριν
Φόρτωση…
Αναφορά σε νέο ζήτημα
Δεν υπάρχει ακόμα περιεχόμενο.
Διαγραφή του Κλάδου 'bug/2985/propertyPIC'
Η διαγραφή του κλάδου είναι μόνιμη. ΔΕΝ ΜΠΟΡΕΙ να αναιρεθεί. Συνέχεια;
As recommended in bug 2985, CMake >= 2.8.9 instead of COMPILE_FLAG -fPIC contains the new POSITION_INDEPENDENT_CODE property.
With the proposed patch, this property will be used if CMake is >= 2.8.9.
looks good to me.
e5b3a250fc.