[CMake] how to link with a system library ?

Steven Samuel Cole steven.samuel.cole at gmail.com
Mon Sep 22 05:40:38 EDT 2008


Hendrik Sattler schrieb:
> 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
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

Thanks for your help anyway :-)

I think I've seen enough.


More information about the CMake mailing list