)]}'
{
  "commit": "aa06a4761e24e59ceaa00e81be450b4d9a0c4d26",
  "tree": "59a7ed76d5ef9ca963db5ab62fb66219ba014596",
  "parents": [
    "d34771cafc87b358ba421faca28facc7f8080174"
  ],
  "author": {
    "name": "Eli Schwartz",
    "email": "eschwartz@archlinux.org",
    "time": "Mon Jul 27 18:15:18 2020 -0400"
  },
  "committer": {
    "name": "Eli Schwartz",
    "email": "eschwartz@archlinux.org",
    "time": "Mon Jul 27 18:15:18 2020 -0400"
  },
  "message": "cmake: install pkg-config file relative to current_binary_dir\n\nWhen the testsuite is enabled, the \"cmake_add_subdirectory\" test\nadds a second copy of the project into the build configuration, and the\nproject files are installed twice.\n\nThis becomes super problematic when it tries to install a file from\nCMAKE_BINARY_DIR which is only available in CMAKE_CURRENT_BINARY_DIR\nand bombs out with the following error message:\n\n```\n[...]\n-- Installing: \u003cDESTDIR\u003e/usr/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake\nCMake Error at test/cmake_add_subdirectory/nlohmann_json/cmake_install.cmake:73 (file):\n  file INSTALL cannot find\n  \"......./nlohmann-json/builddir/test/cmake_add_subdirectory/nlohmann_json.pc\":\n  No such file or directory.\nCall Stack (most recent call first):\n  test/cmake_add_subdirectory/cmake_install.cmake:47 (include)\n  test/cmake_install.cmake:49 (include)\n  cmake_install.cmake:94 (include)\n```\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d5d0ae345f631a508de02ad7405f57638b6a5cb2",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "1afcc25777655188f0980e69ac56ac22f099d5ad",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    }
  ]
}
