{"action":"created","comment":{"url":"https://api.github.com/repos/opentomb/OpenTomb/pulls/comments/34424809","id":34424809,"diff_hunk":"@@ -88,9 +93,19 @@ IF(MINGW)\n     ENDIF()\n ELSE()\n     INCLUDE(FindPkgConfig)\n-    PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)\n-    PKG_SEARCH_MODULE(SDL2_IMAGE REQUIRED SDL2_image)\n-\n+    IF(${PKG_CONFIG_FOUND})","path":"CMakeLists.txt","position":24,"original_position":24,"commit_id":"a1e3723c4431510c53a3b723c7cdd48f75d79388","original_commit_id":"a1e3723c4431510c53a3b723c7cdd48f75d79388","user":{"login":"ablepharus","id":57981,"avatar_url":"https://avatars.githubusercontent.com/u/57981?v=3","gravatar_id":"","url":"https://api.github.com/users/ablepharus","html_url":"https://github.com/ablepharus","followers_url":"https://api.github.com/users/ablepharus/followers","following_url":"https://api.github.com/users/ablepharus/following{/other_user}","gists_url":"https://api.github.com/users/ablepharus/gists{/gist_id}","starred_url":"https://api.github.com/users/ablepharus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ablepharus/subscriptions","organizations_url":"https://api.github.com/users/ablepharus/orgs","repos_url":"https://api.github.com/users/ablepharus/repos","events_url":"https://api.github.com/users/ablepharus/events{/privacy}","received_events_url":"https://api.github.com/users/ablepharus/received_events","type":"User","site_admin":false},"body":"will fix","created_at":"2015-07-12T19:41:07Z","updated_at":"2015-07-12T19:41:07Z","html_url":"https://github.com/opentomb/OpenTomb/pull/155#discussion_r34424809","pull_request_url":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155","_links":{"self":{"href":"https://api.github.com/repos/opentomb/OpenTomb/pulls/comments/34424809"},"html":{"href":"https://github.com/opentomb/OpenTomb/pull/155#discussion_r34424809"},"pull_request":{"href":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155"}}},"pull_request":{"url":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155","id":39766519,"html_url":"https://github.com/opentomb/OpenTomb/pull/155","diff_url":"https://github.com/opentomb/OpenTomb/pull/155.diff","patch_url":"https://github.com/opentomb/OpenTomb/pull/155.patch","issue_url":"https://api.github.com/repos/opentomb/OpenTomb/issues/155","number":155,"state":"open","locked":false,"title":"Optional FIND_PACKAGE for SDL, for systems without pkgconfig","user":{"login":"ablepharus","id":57981,"avatar_url":"https://avatars.githubusercontent.com/u/57981?v=3","gravatar_id":"","url":"https://api.github.com/users/ablepharus","html_url":"https://github.com/ablepharus","followers_url":"https://api.github.com/users/ablepharus/followers","following_url":"https://api.github.com/users/ablepharus/following{/other_user}","gists_url":"https://api.github.com/users/ablepharus/gists{/gist_id}","starred_url":"https://api.github.com/users/ablepharus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ablepharus/subscriptions","organizations_url":"https://api.github.com/users/ablepharus/orgs","repos_url":"https://api.github.com/users/ablepharus/repos","events_url":"https://api.github.com/users/ablepharus/events{/privacy}","received_events_url":"https://api.github.com/users/ablepharus/received_events","type":"User","site_admin":false},"body":"On windows without Mingw, there is no pkgconfig. With these changes, CMake can find SDL2 without it.","created_at":"2015-07-12T18:48:03Z","updated_at":"2015-07-12T19:41:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ae0e868646d1ee8e513e40ea098f00fa920a2b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155/commits","review_comments_url":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155/comments","review_comment_url":"https://api.github.com/repos/opentomb/OpenTomb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opentomb/OpenTomb/issues/155/comments","statuses_url":"https://api.github.com/repos/opentomb/OpenTomb/statuses/a1e3723c4431510c53a3b723c7cdd48f75d79388","head":{"label":"ablepharus:master","ref":"master","sha":"a1e3723c4431510c53a3b723c7cdd48f75d79388","user":{"login":"ablepharus","id":57981,"avatar_url":"https://avatars.githubusercontent.com/u/57981?v=3","gravatar_id":"","url":"https://api.github.com/users/ablepharus","html_url":"https://github.com/ablepharus","followers_url":"https://api.github.com/users/ablepharus/followers","following_url":"https://api.github.com/users/ablepharus/following{/other_user}","gists_url":"https://api.github.com/users/ablepharus/gists{/gist_id}","starred_url":"https://api.github.com/users/ablepharus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ablepharus/subscriptions","organizations_url":"https://api.github.com/users/ablepharus/orgs","repos_url":"https://api.github.com/users/ablepharus/repos","events_url":"https://api.github.com/users/ablepharus/events{/privacy}","received_events_url":"https://api.github.com/users/ablepharus/received_events","type":"User","site_admin":false},"repo":{"id":38676544,"name":"OpenTomb","full_name":"ablepharus/OpenTomb","owner":{"login":"ablepharus","id":57981,"avatar_url":"https://avatars.githubusercontent.com/u/57981?v=3","gravatar_id":"","url":"https://api.github.com/users/ablepharus","html_url":"https://github.com/ablepharus","followers_url":"https://api.github.com/users/ablepharus/followers","following_url":"https://api.github.com/users/ablepharus/following{/other_user}","gists_url":"https://api.github.com/users/ablepharus/gists{/gist_id}","starred_url":"https://api.github.com/users/ablepharus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ablepharus/subscriptions","organizations_url":"https://api.github.com/users/ablepharus/orgs","repos_url":"https://api.github.com/users/ablepharus/repos","events_url":"https://api.github.com/users/ablepharus/events{/privacy}","received_events_url":"https://api.github.com/users/ablepharus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ablepharus/OpenTomb","description":"An open-source Tomb Raider 1-5 engine remake","fork":true,"url":"https://api.github.com/repos/ablepharus/OpenTomb","forks_url":"https://api.github.com/repos/ablepharus/OpenTomb/forks","keys_url":"https://api.github.com/repos/ablepharus/OpenTomb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ablepharus/OpenTomb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ablepharus/OpenTomb/teams","hooks_url":"https://api.github.com/repos/ablepharus/OpenTomb/hooks","issue_events_url":"https://api.github.com/repos/ablepharus/OpenTomb/issues/events{/number}","events_url":"https://api.github.com/repos/ablepharus/OpenTomb/events","assignees_url":"https://api.github.com/repos/ablepharus/OpenTomb/assignees{/user}","branches_url":"https://api.github.com/repos/ablepharus/OpenTomb/branches{/branch}","tags_url":"https://api.github.com/repos/ablepharus/OpenTomb/tags","blobs_url":"https://api.github.com/repos/ablepharus/OpenTomb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ablepharus/OpenTomb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ablepharus/OpenTomb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ablepharus/OpenTomb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ablepharus/OpenTomb/statuses/{sha}","languages_url":"https://api.github.com/repos/ablepharus/OpenTomb/languages","stargazers_url":"https://api.github.com/repos/ablepharus/OpenTomb/stargazers","contributors_url":"https://api.github.com/repos/ablepharus/OpenTomb/contributors","subscribers_url":"https://api.github.com/repos/ablepharus/OpenTomb/subscribers","subscription_url":"https://api.github.com/repos/ablepharus/OpenTomb/subscription","commits_url":"https://api.github.com/repos/ablepharus/OpenTomb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ablepharus/OpenTomb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ablepharus/OpenTomb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ablepharus/OpenTomb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ablepharus/OpenTomb/contents/{+path}","compare_url":"https://api.github.com/repos/ablepharus/OpenTomb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ablepharus/OpenTomb/merges","archive_url":"https://api.github.com/repos/ablepharus/OpenTomb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ablepharus/OpenTomb/downloads","issues_url":"https://api.github.com/repos/ablepharus/OpenTomb/issues{/number}","pulls_url":"https://api.github.com/repos/ablepharus/OpenTomb/pulls{/number}","milestones_url":"https://api.github.com/repos/ablepharus/OpenTomb/milestones{/number}","notifications_url":"https://api.github.com/repos/ablepharus/OpenTomb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ablepharus/OpenTomb/labels{/name}","releases_url":"https://api.github.com/repos/ablepharus/OpenTomb/releases{/id}","created_at":"2015-07-07T09:08:41Z","updated_at":"2015-07-07T09:08:46Z","pushed_at":"2015-07-12T18:44:55Z","git_url":"git://github.com/ablepharus/OpenTomb.git","ssh_url":"git@github.com:ablepharus/OpenTomb.git","clone_url":"https://github.com/ablepharus/OpenTomb.git","svn_url":"https://github.com/ablepharus/OpenTomb","homepage":"http://opentomb.github.io/","size":12382,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opentomb:master","ref":"master","sha":"e0c78ba6fa0066531f3eccedeae539405313983c","user":{"login":"opentomb","id":11858232,"avatar_url":"https://avatars.githubusercontent.com/u/11858232?v=3","gravatar_id":"","url":"https://api.github.com/users/opentomb","html_url":"https://github.com/opentomb","followers_url":"https://api.github.com/users/opentomb/followers","following_url":"https://api.github.com/users/opentomb/following{/other_user}","gists_url":"https://api.github.com/users/opentomb/gists{/gist_id}","starred_url":"https://api.github.com/users/opentomb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentomb/subscriptions","organizations_url":"https://api.github.com/users/opentomb/orgs","repos_url":"https://api.github.com/users/opentomb/repos","events_url":"https://api.github.com/users/opentomb/events{/privacy}","received_events_url":"https://api.github.com/users/opentomb/received_events","type":"Organization","site_admin":false},"repo":{"id":33622587,"name":"OpenTomb","full_name":"opentomb/OpenTomb","owner":{"login":"opentomb","id":11858232,"avatar_url":"https://avatars.githubusercontent.com/u/11858232?v=3","gravatar_id":"","url":"https://api.github.com/users/opentomb","html_url":"https://github.com/opentomb","followers_url":"https://api.github.com/users/opentomb/followers","following_url":"https://api.github.com/users/opentomb/following{/other_user}","gists_url":"https://api.github.com/users/opentomb/gists{/gist_id}","starred_url":"https://api.github.com/users/opentomb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentomb/subscriptions","organizations_url":"https://api.github.com/users/opentomb/orgs","repos_url":"https://api.github.com/users/opentomb/repos","events_url":"https://api.github.com/users/opentomb/events{/privacy}","received_events_url":"https://api.github.com/users/opentomb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opentomb/OpenTomb","description":"An open-source Tomb Raider 1-5 engine remake","fork":false,"url":"https://api.github.com/repos/opentomb/OpenTomb","forks_url":"https://api.github.com/repos/opentomb/OpenTomb/forks","keys_url":"https://api.github.com/repos/opentomb/OpenTomb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opentomb/OpenTomb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opentomb/OpenTomb/teams","hooks_url":"https://api.github.com/repos/opentomb/OpenTomb/hooks","issue_events_url":"https://api.github.com/repos/opentomb/OpenTomb/issues/events{/number}","events_url":"https://api.github.com/repos/opentomb/OpenTomb/events","assignees_url":"https://api.github.com/repos/opentomb/OpenTomb/assignees{/user}","branches_url":"https://api.github.com/repos/opentomb/OpenTomb/branches{/branch}","tags_url":"https://api.github.com/repos/opentomb/OpenTomb/tags","blobs_url":"https://api.github.com/repos/opentomb/OpenTomb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opentomb/OpenTomb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opentomb/OpenTomb/git/refs{/sha}","trees_url":"https://api.github.com/repos/opentomb/OpenTomb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opentomb/OpenTomb/statuses/{sha}","languages_url":"https://api.github.com/repos/opentomb/OpenTomb/languages","stargazers_url":"https://api.github.com/repos/opentomb/OpenTomb/stargazers","contributors_url":"https://api.github.com/repos/opentomb/OpenTomb/contributors","subscribers_url":"https://api.github.com/repos/opentomb/OpenTomb/subscribers","subscription_url":"https://api.github.com/repos/opentomb/OpenTomb/subscription","commits_url":"https://api.github.com/repos/opentomb/OpenTomb/commits{/sha}","git_commits_url":"https://api.github.com/repos/opentomb/OpenTomb/git/commits{/sha}","comments_url":"https://api.github.com/repos/opentomb/OpenTomb/comments{/number}","issue_comment_url":"https://api.github.com/repos/opentomb/OpenTomb/issues/comments{/number}","contents_url":"https://api.github.com/repos/opentomb/OpenTomb/contents/{+path}","compare_url":"https://api.github.com/repos/opentomb/OpenTomb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opentomb/OpenTomb/merges","archive_url":"https://api.github.com/repos/opentomb/OpenTomb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opentomb/OpenTomb/downloads","issues_url":"https://api.github.com/repos/opentomb/OpenTomb/issues{/number}","pulls_url":"https://api.github.com/repos/opentomb/OpenTomb/pulls{/number}","milestones_url":"https://api.github.com/repos/opentomb/OpenTomb/milestones{/number}","notifications_url":"https://api.github.com/repos/opentomb/OpenTomb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opentomb/OpenTomb/labels{/name}","releases_url":"https://api.github.com/repos/opentomb/OpenTomb/releases{/id}","created_at":"2015-04-08T17:49:22Z","updated_at":"2015-07-12T16:37:52Z","pushed_at":"2015-07-12T18:48:03Z","git_url":"git://github.com/opentomb/OpenTomb.git","ssh_url":"git@github.com:opentomb/OpenTomb.git","clone_url":"https://github.com/opentomb/OpenTomb.git","svn_url":"https://github.com/opentomb/OpenTomb","homepage":"http://opentomb.github.io/","size":12382,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":71,"forks":6,"open_issues":71,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155"},"html":{"href":"https://github.com/opentomb/OpenTomb/pull/155"},"issue":{"href":"https://api.github.com/repos/opentomb/OpenTomb/issues/155"},"comments":{"href":"https://api.github.com/repos/opentomb/OpenTomb/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/opentomb/OpenTomb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opentomb/OpenTomb/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/opentomb/OpenTomb/statuses/a1e3723c4431510c53a3b723c7cdd48f75d79388"}}}}