)]}'
{
  "commit": "523e397be2c7820e2b1979886eaad2df9b466d40",
  "tree": "d71a3e81c38e7a33db01f049daeece5c61e1dfde",
  "parents": [
    "0f80f018ffa4f9885e487f5d2e492ff94905a6e0"
  ],
  "author": {
    "name": "Alex Stewart",
    "email": "alexs.mac@gmail.com",
    "time": "Mon Nov 21 11:56:19 2016 +0000"
  },
  "committer": {
    "name": "Alex Stewart",
    "email": "alexs.mac@gmail.com",
    "time": "Mon Nov 21 11:56:19 2016 +0000"
  },
  "message": "Fix missing gflags imported target definition in CeresConfig.cmake\n\n- If gflags was built \u0026 exported with CMake but glog was not, but both\n  were found then as we now make gflags a public dependency of Ceres if\n  both it and glog are found, the *name* of the exported gflags CMake\n  target (gflags-shared or similar) will appear in CERES_LIBRARIES.\n- However, as imported targets are not re-exported, this results in a\n  linker error when compiling client code, as the name of the exported\n  gflags target is not known to CMake, it assumes it is a library name,\n  which it is not.\n- Confusingly, if glog was built with CMake, this problem would not\n  occur, as in that case glog’s CMake target would bring in gflags’.\n- Now we explicitly call find_package(Gflags) in CeresConfig.cmake if\n  Ceres was built with gflags as a public dependency (via glog).\n\nChange-Id: I5cc9483a1fae50f4e9e3a8fbba491b645fd45db6\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "89d0bf035fa99ac73768b87f3a4627244f85e686",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "eda2aecf8d06b0c8ef47969c694354d883e5f2d5",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "cdb37976ec122ab8a08ae5837443533ea498f26c",
      "old_mode": 33188,
      "old_path": "cmake/CeresConfig.cmake.in",
      "new_id": "c0e7767c6ff3c738929d45b2df32fc207ac9a9d2",
      "new_mode": 33188,
      "new_path": "cmake/CeresConfig.cmake.in"
    },
    {
      "type": "modify",
      "old_id": "8f5cd3cacbb3946e4cada85b0d598afb19a5aff1",
      "old_mode": 33188,
      "old_path": "cmake/FindGflags.cmake",
      "new_id": "751771d752c62ee996a9b6eea129649622c5ca78",
      "new_mode": 33188,
      "new_path": "cmake/FindGflags.cmake"
    },
    {
      "type": "modify",
      "old_id": "3a6f7964547077867e112d0bbde6f6708801614e",
      "old_mode": 33188,
      "old_path": "cmake/FindGlog.cmake",
      "new_id": "17b8bc5312981ab0bf6c0ed6c805a251b675990d",
      "new_mode": 33188,
      "new_path": "cmake/FindGlog.cmake"
    }
  ]
}
