Le 12 avr. 07 à 19:14, [EMAIL PROTECTED] 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



Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
CMake mailing list
[EMAIL PROTECTED]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to