{"action":"created","issue":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/351","labels_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/351/comments","events_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/351/events","html_url":"https://github.com/OpenKinect/libfreenect2/pull/351","id":97413359,"number":351,"title":"Correct find_scrpipt for libusb","user":{"login":"goldhoorn","id":6809836,"avatar_url":"https://avatars.githubusercontent.com/u/6809836?v=3","gravatar_id":"","url":"https://api.github.com/users/goldhoorn","html_url":"https://github.com/goldhoorn","followers_url":"https://api.github.com/users/goldhoorn/followers","following_url":"https://api.github.com/users/goldhoorn/following{/other_user}","gists_url":"https://api.github.com/users/goldhoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/goldhoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldhoorn/subscriptions","organizations_url":"https://api.github.com/users/goldhoorn/orgs","repos_url":"https://api.github.com/users/goldhoorn/repos","events_url":"https://api.github.com/users/goldhoorn/events{/privacy}","received_events_url":"https://api.github.com/users/goldhoorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T08:40:09Z","updated_at":"2015-07-31T05:52:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/pulls/351","html_url":"https://github.com/OpenKinect/libfreenect2/pull/351","diff_url":"https://github.com/OpenKinect/libfreenect2/pull/351.diff","patch_url":"https://github.com/OpenKinect/libfreenect2/pull/351.patch"},"body":"The DEPENDS is only set for a local installation.\r\nOtherwise the system (global) one should used.\r\nFurthermore the check if libusb was actually found\r\n(even reuqired) was broken"},"comment":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/comments/126573772","html_url":"https://github.com/OpenKinect/libfreenect2/pull/351#issuecomment-126573772","issue_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/351","id":126573772,"user":{"login":"goldhoorn","id":6809836,"avatar_url":"https://avatars.githubusercontent.com/u/6809836?v=3","gravatar_id":"","url":"https://api.github.com/users/goldhoorn","html_url":"https://github.com/goldhoorn","followers_url":"https://api.github.com/users/goldhoorn/followers","following_url":"https://api.github.com/users/goldhoorn/following{/other_user}","gists_url":"https://api.github.com/users/goldhoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/goldhoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldhoorn/subscriptions","organizations_url":"https://api.github.com/users/goldhoorn/orgs","repos_url":"https://api.github.com/users/goldhoorn/repos","events_url":"https://api.github.com/users/goldhoorn/events{/privacy}","received_events_url":"https://api.github.com/users/goldhoorn/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T05:52:08Z","updated_at":"2015-07-31T05:52:08Z","body":"@xlz: \r\n\r\nregarding the assertion, it overrides the pkg_config path if the user adds the pkg-config path in his envorment this got overridet here. It has had a impact for me\r\n\r\nregarding the if/then/else, i forgot to remove the return *fixed* the last two lines are important"}}