diff options
author | Matthew Hanna <mhanna21@bloomberg.net> | 2017-01-17 21:15:18 (GMT) |
---|---|---|
committer | Matthew Hanna <mhanna21@bloomberg.net> | 2017-01-25 03:02:14 (GMT) |
commit | 796dea67a68be432f98e2fef50059c93106557a2 (patch) | |
tree | c8f28bb665159abd1a64d5b6dfc5a1b4d158e777 /Help | |
parent | 6b4b8e6a600e177d6bbe41848e7de58e7392c81a (diff) | |
download | CMake-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')
-rw-r--r-- | Help/release/dev/pkg-config-recheck.rst | 7 |
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. |