[cmake-developers] [Review Request] Topic FindGTK2_GTK2_TARGETS

Daniele E. Domenichelli ddomenichelli at drdanz.it
Mon Nov 2 06:45:18 EST 2015


Dear all,

Please review the topic FindGTK2_GTK2_TARGETS:

Previously, when GTK2_USE_IMPORTED_TARGETS was enabled, the
GTK2_LIBRARIES variable was still filled with the paths to the
libraries, and only the GTK2_XXX_LIBRARY variables contained the
imported targets.

This patch changes the behaviour to fill the GTK2_LIBRARIES variable
with the targets when GTK2_USE_IMPORTED_TARGETS  is enabled. Moreover
it adds a GTK2_TARGETS variable that always contains all the imported
targets.


 * FindGTK2: Use targets in GTK2_LIBRARIES if GTK2_USE_IMPORTED_TARGETS is ON
   https://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=5f933bd


Thanks.


Regards,
 Daniele


More information about the cmake-developers mailing list