Re: [CMake] Generated library location

2012-03-05 Thread Kevin Nathan
On Sun, 4 Mar 2012 22:15:52 +0100 Andreas Pakulat ap...@gmx.de wrote: No, for those three at least you also don't need link_directories. The find-modules for all 3 provide the absolute paths to the libraries in CMake variables which you can use with target_link_libraries directly and it'll just

[CMake] Generated library location

2012-03-04 Thread Kevin Nathan
I have inherited maintenance (and updating) on a program that was spread over three different source root trees and I have incorporated them into one source tree. Since I am fairly new to CMake (and really loving it compared to autotools), I am probably missing something obvious, but here is my

Re: [CMake] Generated library location

2012-03-04 Thread Rolf Eike Beer
Am Sonntag, 4. März 2012, 11:28:47 schrieb Kevin Nathan: I have inherited maintenance (and updating) on a program that was spread over three different source root trees and I have incorporated them into one source tree. Since I am fairly new to CMake (and really loving it compared to

Re: [CMake] Generated library location

2012-03-04 Thread Kevin Nathan
On Sun, 04 Mar 2012 19:50:50 +0100 Rolf Eike Beer e...@sf-mail.de wrote: Am Sonntag, 4. März 2012, 11:28:47 schrieb Kevin Nathan: ...doing an out-of-source build, my 'old-common' library (which will eventually be phased out) ends up in ./build/old-common but the source for prog2 and prog3 all

Re: [CMake] Generated library location

2012-03-04 Thread Rolf Eike Beer
Am Sonntag, 4. März 2012, 12:55:40 schrieb Kevin Nathan: On Sun, 04 Mar 2012 19:50:50 +0100 Rolf Eike Beer e...@sf-mail.de wrote: Am Sonntag, 4. März 2012, 11:28:47 schrieb Kevin Nathan: ...doing an out-of-source build, my 'old-common' library (which will eventually be phased out) ends up