[CMake] Also install dependent libraries

Alexander Neundorf a.neundorf-work at gmx.net
Sat Jun 27 09:49:35 EDT 2009


On Friday 26 June 2009, Jean-Pierre Bergamin wrote:
> Dear CMake users
>
> We have a project directory layout like the following (where server and
> client use libraires in the directory libs)
> myproject/server
> myproject/client
> myproject/libs
>
> When installing the project from the top level directory, everything is
> fine. But although dependent libs are built when calling "make install"
> i.e. in the server directory, they don't get installed. Is there a way
> to also install these dependent libs?

No, the install command is currently "stupid" in this regard, it doesn't care 
about such dependencies during installation: 
http://public.kitware.com/Bug/view.php?id=4266

Alex



More information about the CMake mailing list