)]}'
{
  "commit": "ccd1198d727b7bd61e0ec831f3e60d2f9807e69b",
  "tree": "f1c1cf2776e0266b829ee66ca6d124a31ea84f52",
  "parents": [
    "084b3e3b835bb13c42c0658f033826ffa8e0f373"
  ],
  "author": {
    "name": "Sameer Agarwal",
    "email": "sameeragarwal@google.com",
    "time": "Fri Mar 13 08:47:37 2026 -0700"
  },
  "committer": {
    "name": "Sameer Agarwal",
    "email": "sameeragarwal@google.com",
    "time": "Mon Mar 16 16:19:06 2026 -0700"
  },
  "message": "Make test_util GTest-optional to fix benchmark builds with BUILD_TESTING\u003dOFF\n\nWhen Ceres is configured with BUILD_TESTING\u003dOFF and BUILD_BENCHMARKS\u003dON,\nbenchmarks failed to compile and link due to an unconditional dependency on the\ntest_util library, which requires Googletest (GTest). This commit addresses the issue\nby introducing the CERES_HAS_GTEST macro and making the test utility library\nGTest-optional.\n\nFixes: https://github.com/ceres-solver/ceres-solver/issues/1081\n\nChange-Id: I615c37eb6f21d36a4b87b2d24632016944eda3bd\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29c14d1b1bb6936a8e3c0f6bc6f644b0603f5db9",
      "old_mode": 33188,
      "old_path": "internal/ceres/CMakeLists.txt",
      "new_id": "60200e352aca2bc5f28bbb3b2ca3ee4a2b8c69eb",
      "new_mode": 33188,
      "new_path": "internal/ceres/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "57f5ab6ecdbbaab28c49fc12911686d10e9aa074",
      "old_mode": 33188,
      "old_path": "internal/ceres/bundle_adjustment_test_util.h",
      "new_id": "459566545b6d715ad6ab695a803cd0a017831305",
      "new_mode": 33188,
      "new_path": "internal/ceres/bundle_adjustment_test_util.h"
    },
    {
      "type": "modify",
      "old_id": "904635bef34a79d6e0992cabd26197da3bfa4a4f",
      "old_mode": 33188,
      "old_path": "internal/ceres/evaluator_test_utils.cc",
      "new_id": "91132adc38f03beb14d528d6a12b628cd8bb543b",
      "new_mode": 33188,
      "new_path": "internal/ceres/evaluator_test_utils.cc"
    },
    {
      "type": "modify",
      "old_id": "e98dfb659d6cae0700960629786a5f951e6d5b18",
      "old_mode": 33188,
      "old_path": "internal/ceres/evaluator_test_utils.h",
      "new_id": "71d72c222b556eadfbab43ea594c67b41ede7e47",
      "new_mode": 33188,
      "new_path": "internal/ceres/evaluator_test_utils.h"
    },
    {
      "type": "modify",
      "old_id": "0aa17780c21f4c61e5dd83eb93214d4318589f04",
      "old_mode": 33188,
      "old_path": "internal/ceres/numeric_diff_test_utils.cc",
      "new_id": "4c1b2e2b383e7080917bb93de759bde8af826d97",
      "new_mode": 33188,
      "new_path": "internal/ceres/numeric_diff_test_utils.cc"
    },
    {
      "type": "modify",
      "old_id": "e258ceba3a8a71487b5b2ac1eb7c7f3772ea41bd",
      "old_mode": 33188,
      "old_path": "internal/ceres/numeric_diff_test_utils.h",
      "new_id": "f5f64c7a726bc009d8142439021ee73410336e5d",
      "new_mode": 33188,
      "new_path": "internal/ceres/numeric_diff_test_utils.h"
    },
    {
      "type": "modify",
      "old_id": "9ae661e4a03c1cd4db54990a436dc9617c493ca8",
      "old_mode": 33188,
      "old_path": "internal/ceres/test_util.cc",
      "new_id": "1805fcdf577c2452a4535cf4daed71cd463883c6",
      "new_mode": 33188,
      "new_path": "internal/ceres/test_util.cc"
    },
    {
      "type": "modify",
      "old_id": "dcac9a6f22d8b29753e3d9e8633eb40734520d53",
      "old_mode": 33188,
      "old_path": "internal/ceres/test_util.h",
      "new_id": "1283db49286e57eb4447919e0b109145a988daa2",
      "new_mode": 33188,
      "new_path": "internal/ceres/test_util.h"
    }
  ]
}
