[cmake-developers] FindPackageCheckArchLinuxSymlinks branch on stage

Brad King brad.king at kitware.com
Fri Jan 25 15:24:54 EST 2013


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?

-Brad



More information about the cmake-developers mailing list