{"action":"created","issue":{"url":"https://api.github.com/repos/SimonRit/RTK/issues/204","repository_url":"https://api.github.com/repos/SimonRit/RTK","labels_url":"https://api.github.com/repos/SimonRit/RTK/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/SimonRit/RTK/issues/204/comments","events_url":"https://api.github.com/repos/SimonRit/RTK/issues/204/events","html_url":"https://github.com/SimonRit/RTK/pull/204","id":352032007,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NDQ1MjEw","number":204,"title":"ENH: Export RTK cmake variables on find_package(ITK COMPONENTS RTK)","user":{"login":"LucasGandel","id":13767152,"node_id":"MDQ6VXNlcjEzNzY3MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/13767152?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasGandel","html_url":"https://github.com/LucasGandel","followers_url":"https://api.github.com/users/LucasGandel/followers","following_url":"https://api.github.com/users/LucasGandel/following{/other_user}","gists_url":"https://api.github.com/users/LucasGandel/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasGandel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasGandel/subscriptions","organizations_url":"https://api.github.com/users/LucasGandel/orgs","repos_url":"https://api.github.com/users/LucasGandel/repos","events_url":"https://api.github.com/users/LucasGandel/events{/privacy}","received_events_url":"https://api.github.com/users/LucasGandel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-20T08:23:26Z","updated_at":"2018-08-21T09:06:58Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/SimonRit/RTK/pulls/204","html_url":"https://github.com/SimonRit/RTK/pull/204","diff_url":"https://github.com/SimonRit/RTK/pull/204.diff","patch_url":"https://github.com/SimonRit/RTK/pull/204.patch"},"body":"Set RTK_EXPORT_CODE_BUILD to specify cmake variable that should be set when\r\ntrying to find package RTK.\r\nThis allows for calling only find_package(ITK COMPONENTS RTK) when an\r\nexternal builds against RTK."},"comment":{"url":"https://api.github.com/repos/SimonRit/RTK/issues/comments/414605428","html_url":"https://github.com/SimonRit/RTK/pull/204#issuecomment-414605428","issue_url":"https://api.github.com/repos/SimonRit/RTK/issues/204","id":414605428,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDYwNTQyOA==","user":{"login":"LucasGandel","id":13767152,"node_id":"MDQ6VXNlcjEzNzY3MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/13767152?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasGandel","html_url":"https://github.com/LucasGandel","followers_url":"https://api.github.com/users/LucasGandel/followers","following_url":"https://api.github.com/users/LucasGandel/following{/other_user}","gists_url":"https://api.github.com/users/LucasGandel/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasGandel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasGandel/subscriptions","organizations_url":"https://api.github.com/users/LucasGandel/orgs","repos_url":"https://api.github.com/users/LucasGandel/repos","events_url":"https://api.github.com/users/LucasGandel/events{/privacy}","received_events_url":"https://api.github.com/users/LucasGandel/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T09:06:58Z","updated_at":"2018-08-21T09:06:58Z","author_association":"CONTRIBUTOR","body":"@SimonRit You are right. I changed the content of RTKConfig.cmake.in to avoid dupplication of the code.\r\nThe second option is the way to go. We keep backward compatibility this way."}}
{"actor":{"display_login":"LucasGandel"}}