summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorMatthew Hanna <mhanna21@bloomberg.net>2017-01-17 21:15:18 (GMT)
committerMatthew Hanna <mhanna21@bloomberg.net>2017-01-25 03:02:14 (GMT)
commit796dea67a68be432f98e2fef50059c93106557a2 (patch)
treec8f28bb665159abd1a64d5b6dfc5a1b4d158e777 /Help/release
parent6b4b8e6a600e177d6bbe41848e7de58e7392c81a (diff)
downloadCMake-796dea67a68be432f98e2fef50059c93106557a2.zip
CMake-796dea67a68be432f98e2fef50059c93106557a2.tar.gz
CMake-796dea67a68be432f98e2fef50059c93106557a2.tar.bz2
FindPkgConfig: Recheck pkg-config on parameter change.
Currently, once pkg_check_modules succeeds, it will never call _pkg_check_modules_internal again. That means that if the parameters to pkg_check_modules are changed, cmake will be called to reconfigure, but nothing will change. This change is to store the full string of arguments to pkg_check_modules and override the FOUND optimization so that the arguments are reevaluated when modified.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/pkg-config-recheck.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/pkg-config-recheck.rst b/Help/release/dev/pkg-config-recheck.rst
new file mode 100644
index 0000000..950c3c8
--- /dev/null
+++ b/Help/release/dev/pkg-config-recheck.rst
@@ -0,0 +1,7 @@
+pkg-config-recheck
+------------------
+
+* Calls to the :module:`FindPkgConfig` module :command:`pkg_check_modules`
+ command following a successful call learned to re-evaluate the cached values
+ for a given prefix after changes to the parameters to the command for that
+ prefix.