Re: [CMake] RPATH not set for "first" build library

2012-08-25 Thread Martin Vogt
Hello, On Sat, Aug 25, 2012 at 7:03 PM, Eric Noulard wrote: > 2012/8/25 Martin Vogt : > The fact that libdummy.so is in the rpath of one of the library the executable > is linked against is just a coincidence or did I miss something? I think, its the correct behavior for libmyopen no

[CMake] RPATH not set for "first" build library

2012-08-25 Thread Martin Vogt
Hello, I have a library "A", which dlopens another library "B". But this does not work with cmake under the following circumstances: - in tree build - library in another directory I have attached an example for the behaviour. The reason for this is, that cmake does not set the RPATH in library