[cmake-developers] FindPackageCheckArchLinuxSymlinks branch on stage
Stephen Kelly
steveire at gmail.com
Mon Jan 28 12:30:25 EST 2013
Alexander Neundorf wrote:
> On Friday 25 January 2013, Brad King wrote:
>> On 01/25/2013 03:24 PM, Alexander Neundorf wrote:
>> > On Friday 25 January 2013, Brad King wrote:
>> >> On 01/25/2013 05:14 AM, Stephen Kelly wrote:
>> >>> Are INSTALL(EXPORT)ed files affected at all by this? Do they need to
>> >>> be?
>> >>
>> >> Yes, since they compute paths relative to their location in order
>> >> to be relocatable. The code that generates them may need to be
>> >> made aware of this.
>> >
>> > I don't think so.
>> > These file should be installed into lib/, so even if lib/ is a symlink,
>> > the relative path from the targets file to the library does not cross
>> > the symlink.
>>
>> What if an executable target installed to bin/ is exported in the targets
>> file?
>
> Right.
It looks like you merged your patch to next, but didn't account for this
part. I recommend doing something similar to what you did for the macro to
manipulate the _IMPORT_PREFIX in export files. Wait for my fix-relocatable-
include-dirs topic to be merged first though.
Thanks,
Steve.
More information about the cmake-developers
mailing list