{"action":"created","issue":{"url":"https://api.github.com/repos/aewallin/openvoronoi/issues/21","labels_url":"https://api.github.com/repos/aewallin/openvoronoi/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/aewallin/openvoronoi/issues/21/comments","events_url":"https://api.github.com/repos/aewallin/openvoronoi/issues/21/events","html_url":"https://github.com/aewallin/openvoronoi/pull/21","id":58501591,"number":21,"title":"Explicitly set cwd in version_string.cmake to (cmake) project src dir.","user":{"login":"gavanderhoorn","id":4550046,"avatar_url":"https://avatars.githubusercontent.com/u/4550046?v=3","gravatar_id":"","url":"https://api.github.com/users/gavanderhoorn","html_url":"https://github.com/gavanderhoorn","followers_url":"https://api.github.com/users/gavanderhoorn/followers","following_url":"https://api.github.com/users/gavanderhoorn/following{/other_user}","gists_url":"https://api.github.com/users/gavanderhoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/gavanderhoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavanderhoorn/subscriptions","organizations_url":"https://api.github.com/users/gavanderhoorn/orgs","repos_url":"https://api.github.com/users/gavanderhoorn/repos","events_url":"https://api.github.com/users/gavanderhoorn/events{/privacy}","received_events_url":"https://api.github.com/users/gavanderhoorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T12:48:16Z","updated_at":"2015-02-23T20:39:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aewallin/openvoronoi/pulls/21","html_url":"https://github.com/aewallin/openvoronoi/pull/21","diff_url":"https://github.com/aewallin/openvoronoi/pull/21.diff","patch_url":"https://github.com/aewallin/openvoronoi/pull/21.patch"},"body":"The `version_string.cmake` file seemed to assume that its working directory was always somewhere inside the `openvoronoi` project dir. That is not always the case (especially not when including `openvoronoi/CMakeLists.txt` inside another project.\r\n\r\nThis change explicitly sets the working directory to `PROJECT_SOURCE_DIR` (which resolves to `openvoronoi/src` in this case), avoiding the issue described above.\r\n"},"comment":{"url":"https://api.github.com/repos/aewallin/openvoronoi/issues/comments/75626820","html_url":"https://github.com/aewallin/openvoronoi/pull/21#issuecomment-75626820","issue_url":"https://api.github.com/repos/aewallin/openvoronoi/issues/21","id":75626820,"user":{"login":"gavanderhoorn","id":4550046,"avatar_url":"https://avatars.githubusercontent.com/u/4550046?v=3","gravatar_id":"","url":"https://api.github.com/users/gavanderhoorn","html_url":"https://github.com/gavanderhoorn","followers_url":"https://api.github.com/users/gavanderhoorn/followers","following_url":"https://api.github.com/users/gavanderhoorn/following{/other_user}","gists_url":"https://api.github.com/users/gavanderhoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/gavanderhoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavanderhoorn/subscriptions","organizations_url":"https://api.github.com/users/gavanderhoorn/orgs","repos_url":"https://api.github.com/users/gavanderhoorn/repos","events_url":"https://api.github.com/users/gavanderhoorn/events{/privacy}","received_events_url":"https://api.github.com/users/gavanderhoorn/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T20:39:08Z","updated_at":"2015-02-23T20:39:08Z","body":"I can rebase if you want.\r\n"}}