[CMake] CMAKE installing files instead of symbolic link

vivek goel goelvivek2011 at gmail.com
Tue Jun 26 09:01:15 EDT 2012


I think I have to explained the thread correctly.
What is problem is that
currently it is copying a symbolic link
 libicutu.so
but I want it to follow symbolic link and instead of copying symbolic link
it should copy it target file as symbolic link file name.

regards
Vivek Goel



On Tue, Jun 26, 2012 at 6:18 PM, Kornel Benko <kornel at lyx.org> wrote:

> **
>
> Am Dienstag, 26. Juni 2012 um 14:19:56, schrieb Eric Noulard <
> eric.noulard at gmail.com>
>
> > 2012/6/26 vivek goel <goelvivek2011 at gmail.com>:
>
> > > 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
>
> >
>
> > Which version of CMake are you using?
>
> > Is the "libicutu.so.48.1" installed or not?
>
>
>
> I would try with
>
> PATTERN "*icu*" EXCLUDE
>
>
>
> > > Where symbolic link is broken. Is there a way to copy original file
> instead
>
> > > as symbolic link using cmake?
>
> >
>
> >
>
> > --
>
> > Erk
>
> > Le gouvernement représentatif n'est pas la démocratie --
>
> > http://www.le-message.org
>
>
>
> Kornel
>
>
>
> --
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120626/18310d71/attachment.htm>


More information about the CMake mailing list