[CMake] INSTALL() command from cvs
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Apr 12 15:07:13 EDT 2007
Le 12 avr. 07 à 19:14, a.neundorf-work at gmx.net a écrit :
> On Thursday 12 April 2007 13:24, Filipe Sousa wrote:
>> Hi!
>>
>> I have some projects that installs system libraries. One of them is
>> libstdc++.so.6 that is symlink to
>> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8:
>> $ readlink -f $(g++ -print-file-name=libstdc++.so.6)
>>
>> With cmake 2.4.6 INSTALL() command will copy the file, but with
>> cmake from
>> cvs the same command will copy the symlink
>> INSTALL(FILES /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
>> DESTINATION lib)
>>
>> I can't pack and distribute symlink instead of a file copy.
>
> I think this is a fix for a bug I reported "symlink is turned to
> normal file
> with INSTALL(DIRECTORY ... )".
> IMO it is more correct this way, anyway, this doesn't help you...
>
>> Is there a easy way to get the old behavior back?
>
> Currently not I think. Maybe you can copy the files during cmake
> time and then
> install the copied files ?
I'm also using this feature - wich is a bug for you.
I understand that it can be required to copy a symlink rather than
the content of the file it points to, but the opposite is also true,
so I think that the behavior should be reverted to the one of the
current stable release, and the current behavior of the cvs version
should be made available as an option.
just my 2 cents :-)
Gaëtan
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/cmake/attachments/20070412/7ecf5a17/PGP.pgp
More information about the CMake
mailing list