prefer_config-bug-fixesΒΆ

  • When the CMAKE_FIND_PACKAGE_PREFER_CONFIG variable is enabled and a package configuration file explicitly marks the package as not found, CMake would still fall back to "Module" mode (even though a package configuration script has already been executed), and could potentially execute the package configuration script twice. Both of these behaviors have been removed.