[CMake] custom library target name

Philip Lowman philip at yhbt.com
Sun Apr 19 18:26:48 EDT 2009


On Sun, Apr 19, 2009 at 6:16 PM, Sagrailo <sagrailo at gmail.com> wrote:

> I'm building plugins, in my CMake based projects, as shared libraries; I
> care about Unix only, and I really, really want the installed files to be
> named like "foo.so", and not like "libfoo.so".  How exactly to achieve this
> with CMake (I know this issue is somewhat discussed even in FAQ, and I tried
> to follow suggestion there, but was not able to come up with working
> solution...)?


Have you tried the PREFIX target property?



More information about the CMake mailing list