Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Bill Hoffman
Pau Garcia i Quiles wrote: On Sun, Dec 27, 2009 at 6:26 PM, Bill Hoffman wrote: Pau Garcia i Quiles wrote: Hello, I think this has already been discussed and the answer is negative but still: when I do target_link_libraries to an external library (for instance, my application needs to link to

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Pau Garcia i Quiles
On Sun, Dec 27, 2009 at 10:16 PM, Michael Wild wrote: > > On 27. Dec, 2009, at 20:41 , Pau Garcia i Quiles wrote: > >> On Sun, Dec 27, 2009 at 10:59 AM, Michael Wild wrote: >>> >>> On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: >>> Hello, I think this has already been disc

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Michael Wild
On 27. Dec, 2009, at 20:41 , Pau Garcia i Quiles wrote: > On Sun, Dec 27, 2009 at 10:59 AM, Michael Wild wrote: >> >> On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: >> >>> Hello, >>> >>> I think this has already been discussed and the answer is negative but >>> still: when I do targe

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Pau Garcia i Quiles
On Sun, Dec 27, 2009 at 6:26 PM, Bill Hoffman wrote: > Pau Garcia i Quiles wrote: >> >> Hello, >> >> I think this has already been discussed and the answer is negative but >> still: when I do target_link_libraries to an external library (for >> instance, my application needs to link to sqlite), is

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Pau Garcia i Quiles
On Sun, Dec 27, 2009 at 10:59 AM, Michael Wild wrote: > > On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: > >> Hello, >> >> I think this has already been discussed and the answer is negative but >> still: when I do target_link_libraries to an external library (for >> instance, my applicati

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Bill Hoffman
Pau Garcia i Quiles wrote: Hello, I think this has already been discussed and the answer is negative but still: when I do target_link_libraries to an external library (for instance, my application needs to link to sqlite), is it possible to tell CMake to link to the static version of sqlite inst

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Michael Wild
On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: > Hello, > > I think this has already been discussed and the answer is negative but > still: when I do target_link_libraries to an external library (for > instance, my application needs to link to sqlite), is it possible to > tell CMake to