summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2023-09-17 16:44:26 (GMT)
committerCorentin Noël <corentin.noel@collabora.com>2023-09-19 07:08:48 (GMT)
commite0d00b9218bc458ae6cdd5e7ce514c0ba7b4dec4 (patch)
tree80e715b467497e994d9f2d24ee46e27fdfab0631 /Help
parentaa6213848d66fa27049754e61a677dfc378e02d6 (diff)
downloadCMake-e0d00b9218bc458ae6cdd5e7ce514c0ba7b4dec4.zip
CMake-e0d00b9218bc458ae6cdd5e7ce514c0ba7b4dec4.tar.gz
CMake-e0d00b9218bc458ae6cdd5e7ce514c0ba7b4dec4.tar.bz2
FindPkgConfig: Allow to override variables when calling pkg_get_variable
This is specifically useful when building applications within containers as we sometimes need to redefine the prefix used in a variable.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/FindPkgConfig-override.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/FindPkgConfig-override.rst b/Help/release/dev/FindPkgConfig-override.rst
new file mode 100644
index 0000000..3f58065
--- /dev/null
+++ b/Help/release/dev/FindPkgConfig-override.rst
@@ -0,0 +1,5 @@
+FindPkgConfig-override
+----------------------
+
+* The :module:`FindPkgConfig` module :command:`pkg_get_variable` function
+ gained a ``DEFINE_VARIABLES`` option to pass variables to ``pkg-config``.