На 17.09.2015 в 16:24, Ben Boeckel написа:
>> Ben,
>> is there any way this CMake property be turned on globally ?
>
> When a target is made, the POSITION_INDEPENDENT_CODE property is set to
> the value of CMAKE_POSITION_INDEPENDENT_CODE and may then be overridden
> manually. Anything that turns it or the property off explicitly will
> have to be patched. Or do you mean more globally than "this one CMake
> build"?
>
I meant turning it on globally as in "everything built with CMake in Fedora",
like updating the default flags in a RPM macro or updating the default CMake
config in Fedora. Which will change all the packages using CMake once they are
rebuilt.
--
Alex