[CMake] CMAKE installing files instead of symbolic link

Kornel Benko kornel at lyx.org
Tue Jun 26 08:48:49 EDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120626/8990bb33/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120626/8990bb33/attachment-0001.pgp>


More information about the CMake mailing list