[CMake] INSTALL() command from cvs

Filipe Sousa natros at gmail.com
Thu Apr 12 07:24:23 EDT 2007


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.

Is there a easy way to get the old behavior back?

-- 
Filipe Sousa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070412/d441bab8/attachment.html


More information about the CMake mailing list