I'm trying to copy a file that is a link to another file, but I want the
file to be copied, not the link itself. Historically, I've resorted to
putting the real file as the source, and then using RENAME to rename the
file, which puts more detail into my install commands than I'd like.
Example:
where libfoo.so.1.0 -> libfoo.so.1.0.8:
i.e. instead of:
install (FILES libfoo.so.1.0.8 DESTINATION lib RENAME libfoo.so.1.0)
I'd like to just do:
install (FILES libfoo.so.1.0 DESTINATION lib)
I've had little success search the cmake source and documentation and
google.
Thanks,
Kevin
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake