[CMake] CMAKE installing files instead of symbolic link

Eric Noulard eric.noulard at gmail.com
Tue Jun 26 08:19:56 EDT 2012


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?

> 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


More information about the CMake mailing list