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 link

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

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 them...@gmail.com 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

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 bill.hoff...@kitware.com 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 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 them...@gmail.com 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

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 them...@gmail.com wrote: On 27. Dec, 2009, at 20:41 , Pau Garcia i Quiles wrote: On Sun, Dec 27, 2009 at 10:59 AM, Michael Wild them...@gmail.com wrote: On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: Hello, I think this has already

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 bill.hoff...@kitware.com 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