{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/75","repository_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc","labels_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/75/comments","events_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/75/events","html_url":"https://github.com/bazelbuild/rules_foreign_cc/issues/75","id":355807003,"node_id":"MDU6SXNzdWUzNTU4MDcwMDM=","number":75,"title":"using system package as dependency in cmake_external ","user":{"login":"bbarnes52","id":5430846,"node_id":"MDQ6VXNlcjU0MzA4NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5430846?v=4","gravatar_id":"","url":"https://api.github.com/users/bbarnes52","html_url":"https://github.com/bbarnes52","followers_url":"https://api.github.com/users/bbarnes52/followers","following_url":"https://api.github.com/users/bbarnes52/following{/other_user}","gists_url":"https://api.github.com/users/bbarnes52/gists{/gist_id}","starred_url":"https://api.github.com/users/bbarnes52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbarnes52/subscriptions","organizations_url":"https://api.github.com/users/bbarnes52/orgs","repos_url":"https://api.github.com/users/bbarnes52/repos","events_url":"https://api.github.com/users/bbarnes52/events{/privacy}","received_events_url":"https://api.github.com/users/bbarnes52/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-31T01:19:10Z","updated_at":"2018-08-31T18:11:41Z","closed_at":"2018-08-31T18:11:14Z","author_association":"NONE","body":"I'd like to depend on a system package. When invoking cmake directly, I would just set CMAKE_PREFIX_PATH to the appropriate path. Is there a mechanism to accomplish the same with `cmake_external`?\r\n\r\nThe error I get is \r\n```\r\nCould not find the required component 'foo'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.\r\n```\r\n\r\nI imagine the solution is to copy the package into $EXT_BUILD_DEPS, or else add the package path to $CMAKE_PREFIX_PATH. However, I have been unable to figure out how to accomplish this with the cmake_external API.\r\n\r\nThanks as always for your help, and let me know if there's a forum you would prefer I use for such questions!"},"comment":{"url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/comments/417747877","html_url":"https://github.com/bazelbuild/rules_foreign_cc/issues/75#issuecomment-417747877","issue_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/75","id":417747877,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzc0Nzg3Nw==","user":{"login":"irengrig","id":6598461,"node_id":"MDQ6VXNlcjY1OTg0NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6598461?v=4","gravatar_id":"","url":"https://api.github.com/users/irengrig","html_url":"https://github.com/irengrig","followers_url":"https://api.github.com/users/irengrig/followers","following_url":"https://api.github.com/users/irengrig/following{/other_user}","gists_url":"https://api.github.com/users/irengrig/gists{/gist_id}","starred_url":"https://api.github.com/users/irengrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irengrig/subscriptions","organizations_url":"https://api.github.com/users/irengrig/orgs","repos_url":"https://api.github.com/users/irengrig/repos","events_url":"https://api.github.com/users/irengrig/events{/privacy}","received_events_url":"https://api.github.com/users/irengrig/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T18:11:41Z","updated_at":"2018-08-31T18:11:41Z","author_association":"COLLABORATOR","body":"Yep, sorry for that. Fix is in #79 "}}
{"actor":{"display_login":"irengrig"}}