Re: [CMake] Question about static library linking

2009-02-02 Thread Alexander Neundorf
On Monday 02 February 2009, Jonathan Fillion wrote: > Hi all, > > > > We're trying to setup cmake to compile our libaries over here and I have > a simple question that I can't seem to find the answer to. > > I have a dynamic library A that depends on a static library B which in > turns needs anothe

Re: [CMake] Question about static library linking

2009-02-02 Thread Tyler Roscoe
On Mon, Feb 02, 2009 at 02:36:55PM -0500, Jonathan Fillion wrote: > I have a dynamic library A that depends on a static library B which in > turns needs another static library C. Now, > > in B's CMakeList.txt: > > LINK_DIRECTORIES(/path/to/c) > > TARGET_LINK_LIBRARIES(C) > > > > in A's CMake

[CMake] Question about static library linking

2009-02-02 Thread Jonathan Fillion
Hi all, We're trying to setup cmake to compile our libaries over here and I have a simple question that I can't seem to find the answer to. I have a dynamic library A that depends on a static library B which in turns needs another static library C. Now, in B's CMakeList.txt: LINK_DIRECTOR