{"action":"created","issue":{"url":"https://api.github.com/repos/splunk/pion/issues/75","labels_url":"https://api.github.com/repos/splunk/pion/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/splunk/pion/issues/75/comments","events_url":"https://api.github.com/repos/splunk/pion/issues/75/events","html_url":"https://github.com/splunk/pion/pull/75","id":46688347,"number":75,"title":"Adds cmake package configuration and version file to enable find_package(libpion)","user":{"login":"daminetreg","id":181726,"avatar_url":"https://avatars.githubusercontent.com/u/181726?v=3","gravatar_id":"","url":"https://api.github.com/users/daminetreg","html_url":"https://github.com/daminetreg","followers_url":"https://api.github.com/users/daminetreg/followers","following_url":"https://api.github.com/users/daminetreg/following{/other_user}","gists_url":"https://api.github.com/users/daminetreg/gists{/gist_id}","starred_url":"https://api.github.com/users/daminetreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daminetreg/subscriptions","organizations_url":"https://api.github.com/users/daminetreg/orgs","repos_url":"https://api.github.com/users/daminetreg/repos","events_url":"https://api.github.com/users/daminetreg/events{/privacy}","received_events_url":"https://api.github.com/users/daminetreg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-23T23:13:02Z","updated_at":"2015-02-06T04:40:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/splunk/pion/pulls/75","html_url":"https://github.com/splunk/pion/pull/75","diff_url":"https://github.com/splunk/pion/pull/75.diff","patch_url":"https://github.com/splunk/pion/pull/75.patch"},"body":"Hi dear splunk developers team,\r\n\r\nI was just about to use your library in my project and noticed that your cmake build didn't add package-config, but personally I wished to be able to find_package pion, so I simply added the necessary steps for this.\r\n\r\nThis allows users of the library to include it easily then :\r\n       find_package(libpion 5.0.6 REQUIRED)\r\n       link_directories(${LIBPION_LIBRARY_DIRS})\r\n       include_directories(${LIBPION_INCLUDE_DIRS})\r\n       target_link_libraries(yourTarget ${LIBPION_LIBRARIES})\r\n\r\nIt also has the advantages that if different version are on the system, only the right one is taken. \r\n\r\nThanks for this http library :smiley: \r\nCheers,"},"comment":{"url":"https://api.github.com/repos/splunk/pion/issues/comments/73182021","html_url":"https://github.com/splunk/pion/pull/75#issuecomment-73182021","issue_url":"https://api.github.com/repos/splunk/pion/issues/75","id":73182021,"user":{"login":"vshcherbakov","id":874487,"avatar_url":"https://avatars.githubusercontent.com/u/874487?v=3","gravatar_id":"","url":"https://api.github.com/users/vshcherbakov","html_url":"https://github.com/vshcherbakov","followers_url":"https://api.github.com/users/vshcherbakov/followers","following_url":"https://api.github.com/users/vshcherbakov/following{/other_user}","gists_url":"https://api.github.com/users/vshcherbakov/gists{/gist_id}","starred_url":"https://api.github.com/users/vshcherbakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vshcherbakov/subscriptions","organizations_url":"https://api.github.com/users/vshcherbakov/orgs","repos_url":"https://api.github.com/users/vshcherbakov/repos","events_url":"https://api.github.com/users/vshcherbakov/events{/privacy}","received_events_url":"https://api.github.com/users/vshcherbakov/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T04:40:10Z","updated_at":"2015-02-06T04:40:10Z","body":"Sorry for long delay in merging this, guys. Unfortunately we are not using cmake (yet?) so I have no easy way to verify this pull request."}}