Hello all,

I'd like to introduce imported targets in FindGTK2.cmake, in a similar
manner as they are used in FindQT4.cmake.

The aim is to be able to do something like:

   find_package(GTK2 gtk gtkmm)
   target_link_libraries(<target> GTK2::gtkmm)

(In the future I want to handle dependencies on modules as well, at the
moment I think that if you don't include the gtk module it will not work)

If you want to review my changes, you can checkout the FindGTK2-targets
topic. I tested it on Windows and Linux, but unfortunately there are not
unit tests afaik.



Cheers,
 Daniele
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to