Re: [CMake] install and rpath question

2007-04-24 Thread Mathieu Malaterre
On 4/23/07, Andreas Schneider <[EMAIL PROTECTED]> wrote: Mathieu Malaterre wrote: > Hello, > > I cannot figure out how to install a library so that the installed > version use the install_rpath. > > # By default rpath works in built tree: > ADD_LIBRARY(foo SHARED foo.c) > ADD_LIBRARY(bla SHARED

Re: [CMake] install and rpath question

2007-04-23 Thread Andreas Schneider
Mathieu Malaterre wrote: > Hello, > > I cannot figure out how to install a library so that the installed > version use the install_rpath. > > # By default rpath works in built tree: > ADD_LIBRARY(foo SHARED foo.c) > ADD_LIBRARY(bla SHARED bla.c) > TARGET_LINK_LIBRARIES(bla foo) > INSTALL( > TAR

Re: [CMake] install and rpath question

2007-04-23 Thread Alan W. Irwin
On 2007-04-23 16:46+0200 Mathieu Malaterre wrote: Hello, I cannot figure out how to install a library so that the installed version use the install_rpath. # By default rpath works in built tree: ADD_LIBRARY(foo SHARED foo.c) ADD_LIBRARY(bla SHARED bla.c) TARGET_LINK_LIBRARIES(bla foo) INSTALL(

[CMake] install and rpath question

2007-04-23 Thread Mathieu Malaterre
Hello, I cannot figure out how to install a library so that the installed version use the install_rpath. # By default rpath works in built tree: ADD_LIBRARY(foo SHARED foo.c) ADD_LIBRARY(bla SHARED bla.c) TARGET_LINK_LIBRARIES(bla foo) INSTALL( TARGETS bla foo LIBRARY DESTINATION lib ) SET_T