Re: [CMake] ExternalProject built libraries and dependencies

2009-12-19 Thread Michael Wild
Good idea... Do I have to do this for every library that links against this external library? On 19. Dec, 2009, at 20:24 , Clinton Stimpson wrote: > > I just set the LINK_INTERFACE_LIBRARIES property on shared libraries to > eliminate these kinds of dependencies. > > Clint > > On 12/19/2009

Re: [CMake] ExternalProject built libraries and dependencies

2009-12-19 Thread Clinton Stimpson
I just set the LINK_INTERFACE_LIBRARIES property on shared libraries to eliminate these kinds of dependencies. Clint On 12/19/2009 11:08 AM, Michael Wild wrote: Hi all I use ExternalProject to optionally build some dependencies as static libraries. However, since they are statically linked

[CMake] ExternalProject built libraries and dependencies

2009-12-19 Thread Michael Wild
Hi all I use ExternalProject to optionally build some dependencies as static libraries. However, since they are statically linked, I don't install them. Unfortunately, CMake includes these libraries in the export set through the IMPORTED_LINK_INTERFACE_LIBRARIES property. Worse, it references t

Re: [CMake] third party library dependencies

2009-12-19 Thread Jed Brown
On Fri, 18 Dec 2009 14:45:51 -0500, Roman Shtylman wrote: > In my setup I have statically linked libraries, thus the library > dependencies are not automatically pulled in. I suppose I can do some > things with ldd to determine which libraries are needed. Yes, but ldd will only help if your syste