[CMake] how to link with a system library ?
Hendrik Sattler
post at hendrik-sattler.de
Sun Sep 21 12:58:50 EDT 2008
Am Sunday 21 September 2008 17:20:19 schrieb Eric Noulard:
> There is bug report about this
> http://www.vtk.org/Bug/view.php?id=6042
>
> pointing to this CMake module
> http://code.google.com/p/cmake-modules/source/browse/trunk/Modules/GTK2/Fin
>dGTK2.cmake
>
> I haven't tested it though.
Looks not too good (it doesn't even use foreach for this endless list of doing
the same thing again and again). It also needs support for component
selection and missing finding the programs that come with gtk.
It mixes several things although they are not even from the same source
package upstream (glib / gtk / pango / ...).
It also doesn't make sure that the *config.h matches the library found (if you
ever have two versions installed).
HS
More information about the CMake
mailing list