summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2015-10-30 11:33:53 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-09 14:51:50 (GMT)
commit5d79b9563f7852098721a9218a13c84383f780ed (patch)
tree1cab3f5143ce813b236c3704c890da7a9b2b357a /Help
parent96ac964d765108ea0bf2c37567efdf777a6047e4 (diff)
downloadCMake-5d79b9563f7852098721a9218a13c84383f780ed.zip
CMake-5d79b9563f7852098721a9218a13c84383f780ed.tar.gz
CMake-5d79b9563f7852098721a9218a13c84383f780ed.tar.bz2
FindGTK2: Use targets in GTK2_LIBRARIES if GTK2_USE_IMPORTED_TARGETS is ON
Also add GTK2_TARGETS variable containing all imported targets. Previously, the GTK2_LIBRARIES variable was filled with the paths to the libraries, and only the GTK2_XXX_LIBRARY variables contained the imported targets.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/FindGTK2_GTK2_TARGETS.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/FindGTK2_GTK2_TARGETS.rst b/Help/release/dev/FindGTK2_GTK2_TARGETS.rst
new file mode 100644
index 0000000..76e3657
--- /dev/null
+++ b/Help/release/dev/FindGTK2_GTK2_TARGETS.rst
@@ -0,0 +1,7 @@
+FindGTK2_GTK2_TARGETS
+---------------------
+
+* The :module:`FindGTK2` module, when ``GTK2_USE_IMPORTED_TARGETS`` is
+ enabled, now sets ``GTK2_LIBRARIES`` to contain the list of imported
+ targets instead of the paths to the libraries. Moreover it now sets
+ a new ``GTK2_TARGETS`` variable containing all the targets imported.