summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2019-08-27 22:52:13 (GMT)
committerChristophe Giboudeaux <christophe@krop.fr>2019-08-29 19:50:49 (GMT)
commitfe683876952ee6172e46fe770b4f3e48c69646d1 (patch)
tree54ed9a4a123e207c6712d5b32880f854e75ac8a8 /Help/release
parent843ab7544e319597306a6d9cea4ab8be3296e6c4 (diff)
downloadCMake-fe683876952ee6172e46fe770b4f3e48c69646d1.zip
CMake-fe683876952ee6172e46fe770b4f3e48c69646d1.tar.gz
CMake-fe683876952ee6172e46fe770b4f3e48c69646d1.tar.bz2
FindPkgConfig: return the module found by pkg_search_module
When running `pkg_search_module`, it may be useful to get the matching module name in order to run `pkg_get_variable`. `pkg_search_module` now defines `<prefix>_MODULE_NAME` which contains the first matching module name. Fixes: #19648
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/FindPkgConfig-module-name.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/FindPkgConfig-module-name.rst b/Help/release/dev/FindPkgConfig-module-name.rst
new file mode 100644
index 0000000..9f1cd36
--- /dev/null
+++ b/Help/release/dev/FindPkgConfig-module-name.rst
@@ -0,0 +1,6 @@
+FindPkgConfig-module-name
+-------------------------
+
+* The :module:`FindPkgConfig` module :command:`pkg_search_module` macro
+ now defines a ``<prefix>_MODULE_NAME`` result variable containing the
+ first matching module name.