[CMake] INSTALL() command from cvs
a.neundorf-work at gmx.net
a.neundorf-work at gmx.net
Thu Apr 12 13:14:17 EDT 2007
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 ?
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the CMake
mailing list