Make sure you reply to the list so others can help. On Fri, Jun 26, 2009 at 09:16:20PM +0200, Jean-Pierre Bergamin wrote: > Am 26.06.2009 16:34, schrieb Tyler Roscoe: > >On Fri, Jun 26, 2009 at 10:50:27AM +0200, Jean-Pierre Bergamin wrote: > > > >>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? > >> > > > >Do you have install() commands for those dependent libraries? What do > >they look like? > > > These are normal install commands: > > install(TARGETS mylib > LIBRARY DESTINATION lib) > > And the libraries get installed when calling "make install" from the > top-level directory, but not when inside i.e. the "myproject/server" > directory.
Do your subdirectories all have project() declarations? Are there rules getting written into the cmake_install.cmake (or whatever that file is called) in the subdirectories' binary directories? What do the relevant parts of the output from make VERBOSE=1 look like? tyler _______________________________________________ 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