{"action":"opened","issue":{"url":"https://api.github.com/repos/USCiLab/cereal/issues/222","labels_url":"https://api.github.com/repos/USCiLab/cereal/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/USCiLab/cereal/issues/222/comments","events_url":"https://api.github.com/repos/USCiLab/cereal/issues/222/events","html_url":"https://github.com/USCiLab/cereal/issues/222","id":102308268,"number":222,"title":"CMake addition request","user":{"login":"robiwano","id":11848481,"avatar_url":"https://avatars.githubusercontent.com/u/11848481?v=3","gravatar_id":"","url":"https://api.github.com/users/robiwano","html_url":"https://github.com/robiwano","followers_url":"https://api.github.com/users/robiwano/followers","following_url":"https://api.github.com/users/robiwano/following{/other_user}","gists_url":"https://api.github.com/users/robiwano/gists{/gist_id}","starred_url":"https://api.github.com/users/robiwano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robiwano/subscriptions","organizations_url":"https://api.github.com/users/robiwano/orgs","repos_url":"https://api.github.com/users/robiwano/repos","events_url":"https://api.github.com/users/robiwano/events{/privacy}","received_events_url":"https://api.github.com/users/robiwano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-21T06:18:07Z","updated_at":"2015-08-21T06:18:07Z","closed_at":null,"body":"With the following addition it is extremely easy to add cereal to CMake based projects:\r\n\r\nADD_LIBRARY(cereal INTERFACE)\r\n\r\nTARGET_INCLUDE_DIRECTORIES(\r\n\tcereal\r\n\tINTERFACE include\r\n)\r\n\r\nWhen a project uses TARGET_LINK_LIBRARIES(target ... cereal ... ), include paths will be set automatically for the given target."}}