[CMake] Recursive dependencies and static libraries
Csaba Halász
csaba.halasz at gmail.com
Wed Nov 5 17:02:14 EST 2008
On Wed, Nov 5, 2008 at 9:29 PM, Jed Brown <jed at 59a2.org> wrote:
>
> Here is an extremely simple test case that is broken on every
> platform where libtiff is a static library.
>
> http://59a2.org/files/cmake-tiff.tar.gz
>
> CMake configures successfully, but the build fails with lots of
> unresolved symbols. The user needs to manually add the dependency graph
> of libtiff (libjpeg, libz, libm) to an advanced variable to link
> properly.
>
> Do others not consider this to be broken behavior?
Hi Jed,
Yes, I have just run into this very problem (see my earlier mail about libtiff)
I just made some try-compile tests to check for known possible dependencies.
I hoped somebody with more cmake experience could offer some insight,
but didn't get any responses yet.
--
Csaba
More information about the CMake
mailing list