{"action":"created","issue":{"url":"https://api.github.com/repos/jeaye/color_coded/issues/53","labels_url":"https://api.github.com/repos/jeaye/color_coded/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/jeaye/color_coded/issues/53/comments","events_url":"https://api.github.com/repos/jeaye/color_coded/issues/53/events","html_url":"https://github.com/jeaye/color_coded/pull/53","id":74962246,"number":53,"title":"Simplify finding lua","user":{"login":"UnrealQuester","id":3252092,"avatar_url":"https://avatars.githubusercontent.com/u/3252092?v=3","gravatar_id":"","url":"https://api.github.com/users/UnrealQuester","html_url":"https://github.com/UnrealQuester","followers_url":"https://api.github.com/users/UnrealQuester/followers","following_url":"https://api.github.com/users/UnrealQuester/following{/other_user}","gists_url":"https://api.github.com/users/UnrealQuester/gists{/gist_id}","starred_url":"https://api.github.com/users/UnrealQuester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnrealQuester/subscriptions","organizations_url":"https://api.github.com/users/UnrealQuester/orgs","repos_url":"https://api.github.com/users/UnrealQuester/repos","events_url":"https://api.github.com/users/UnrealQuester/events{/privacy}","received_events_url":"https://api.github.com/users/UnrealQuester/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-10T17:25:06Z","updated_at":"2015-06-16T02:17:23Z","closed_at":"2015-06-16T02:17:07Z","pull_request":{"url":"https://api.github.com/repos/jeaye/color_coded/pulls/53","html_url":"https://github.com/jeaye/color_coded/pull/53","diff_url":"https://github.com/jeaye/color_coded/pull/53.diff","patch_url":"https://github.com/jeaye/color_coded/pull/53.patch"},"body":"There are cmake find modules for lua 5.0 and 5.1. The current cmake\r\nmaster however does not contain a FindLua52. Unless a distribution adds\r\nthis script in their repos, searching for lua 5.2 will always fail and\r\nwe will fall back to lua 5.1 if it is available. If it is not, the\r\ngeneric FindLua.cmake will find lua 5.2. This is a problem on systems\r\nwhere both 5.1 and 5.2 are installed, as 5.2 will never be selected. As\r\nthe FindLua.cmake searches for versions >= 5.0 and returns the highest\r\nversion it finds we can just use that.\r\n\r\nThe FindLua package only got added with CMake 3.0.0 so we have to add\r\nour own."},"comment":{"url":"https://api.github.com/repos/jeaye/color_coded/issues/comments/112261216","html_url":"https://github.com/jeaye/color_coded/pull/53#issuecomment-112261216","issue_url":"https://api.github.com/repos/jeaye/color_coded/issues/53","id":112261216,"user":{"login":"jeaye","id":1057635,"avatar_url":"https://avatars.githubusercontent.com/u/1057635?v=3","gravatar_id":"","url":"https://api.github.com/users/jeaye","html_url":"https://github.com/jeaye","followers_url":"https://api.github.com/users/jeaye/followers","following_url":"https://api.github.com/users/jeaye/following{/other_user}","gists_url":"https://api.github.com/users/jeaye/gists{/gist_id}","starred_url":"https://api.github.com/users/jeaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeaye/subscriptions","organizations_url":"https://api.github.com/users/jeaye/orgs","repos_url":"https://api.github.com/users/jeaye/repos","events_url":"https://api.github.com/users/jeaye/events{/privacy}","received_events_url":"https://api.github.com/users/jeaye/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T02:17:23Z","updated_at":"2015-06-16T02:17:23Z","body":"Alrighty. Thanks for the work!"}}