Re: [cmake-developers] pkg_check_modules does not respond to changes.

2017-01-20 Thread Brad King
On 01/18/2017 10:12 AM, Matthew Hanna (BLOOMBERG/ 731 LEX) wrote: > I would like to enhance the behavior of pkg_check_modules to store the > parameters for a given PREFIX so that changes to those parameters can > disable the optimization and re-evaluate pkg_check_modules. > > Are there any concern

[cmake-developers] pkg_check_modules does not respond to changes.

2017-01-18 Thread Matthew Hanna (BLOOMBERG/ 731 LEX)
There is an optimization in pkg_check_modules that skips processing once a successful execution has occurred and simply leaves the cached return variables as is. As currently implemented, any changes to the parameters of pkg_check_modules, excluding PREFIX, will be ignored following a successful e