[CMake] CMAKE installing files instead of symbolic link

vivek goel goelvivek2011 at gmail.com
Tue Jun 26 03:15:51 EDT 2012


hi,
I am building my custom library inside
lib/linux/gcc/${BIT}/lib/

Currently I am using following command to install required library
INSTALL(DIRECTORY lib/linux/gcc/${BIT}/lib/
        DESTINATION lib
        FILES_MATCHING PATTERN "*.so.*"
        PATTERN "icu" EXCLUDE
)

But it is not working. It is installing broken symbolic link. It is
installing symbolic  link like
 libicutu.so -> libicutu.so.48.1

Where symbolic link is broken. Is there a way to copy original file instead
as symbolic link using cmake?

regards
Vivek Goel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120626/2c8592c8/attachment.htm>


More information about the CMake mailing list