summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2019-08-28 00:52:13 +0200
committerChristophe Giboudeaux <christophe@krop.fr>2019-08-29 21:50:49 +0200
commitfe683876952ee6172e46fe770b4f3e48c69646d1 (patch)
tree54ed9a4a123e207c6712d5b32880f854e75ac8a8 /Help
parent843ab7544e319597306a6d9cea4ab8be3296e6c4 (diff)
downloadcmake-fe683876952ee6172e46fe770b4f3e48c69646d1.tar.gz
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')
-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 0000000000..9f1cd3615f
--- /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.