Skip to content
  • Matthew Hanna's avatar
    FindPkgConfig: Recheck pkg-config on parameter change. · 796dea67
    Matthew Hanna authored
    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.
    796dea67