)]}'
{
  "commit": "46b4b3b002994ddb9d6fc72268c3e271243cd1df",
  "tree": "2b022e21df6ec7e03bde35979bb235c363ca165c",
  "parents": [
    "af39e3b9eeb32493abd89f40de4420587774ccc7"
  ],
  "author": {
    "name": "Sergiu Deitsch",
    "email": "sergiu.deitsch@gmail.com",
    "time": "Wed Feb 19 22:50:15 2025 +0100"
  },
  "committer": {
    "name": "Sergiu Deitsch",
    "email": "sergiu.deitsch@gmail.com",
    "time": "Wed Feb 19 15:54:17 2025 -0800"
  },
  "message": "Do not discard caller\u0027s CMAKE_MODULE_PATH\n\nCeres CMake package configuration relies on several own find modules\n(e.g., for SuiteSparse and METIS). To allow CMake to discover additional\nfind modules, the CMAKE_MODULE_PATH variable must be updated to include\nthe directories containing the corresponding find modules.\n\nPreviously, before updating CMAKE_MODULE_PATH, Ceres stored the\nvariable\u0027s initial value and then completely replaced it by the\ndirectory containing Ceres\u0027s modules. However, a find_dependency failure\nwould cause an early return preventing CMAKE_MODULE_PATH to be restored.\nThus, any initial user changes to CMAKE_MODULE_PATH would be lost.\n\nNow, instead of completely replacing the CMAKE_MODULE_PATH value we only\nprepend additional directories. An early return no longer has a\ndestructive effect on CMAKE_MODULE_PATH. In a failure case,\nCMAKE_MODULE_PATH still contains caller\u0027s initial set of directories and\nan additional path prepended by Ceres.\n\nFixes #1024\n\nChange-Id: I80d92a5dff9f3cff651f950c4f8d04ece008b44b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9122881b8da545d063819eafb0f05af7b3f2d94b",
      "old_mode": 33188,
      "old_path": "cmake/CeresConfig.cmake.in",
      "new_id": "1d0b012a12dc0f92dda711d77e30330ae0acdc9e",
      "new_mode": 33188,
      "new_path": "cmake/CeresConfig.cmake.in"
    }
  ]
}
