{"action":"created","comment":{"url":"https://api.github.com/repos/asmorkalov/CMake/pulls/comments/57747604","id":57747604,"diff_hunk":"@@ -630,6 +692,23 @@ function(cpack_deb_prepare_package_vars)\n         endif()\n       endif()\n     endforeach()\n+    set(COMPONENT_DEPENDS \"\")\n+    set(_DEPS \"${CPACK_COMPONENT_${_local_component_name}_DEPENDS}\")\n+    foreach (_PACK ${_DEPS})\n+      get_component_package_name(_PACK_NAME \"${_PACK}\")\n+      if(COMPONENT_DEPENDS)","path":"Modules/CPackDeb.cmake","position":141,"original_position":141,"commit_id":"b3820f9c24e44052553cf4a7b7f88c414abd3fa5","original_commit_id":"b3820f9c24e44052553cf4a7b7f88c414abd3fa5","user":{"login":"SpecLad","id":2391761,"avatar_url":"https://avatars.githubusercontent.com/u/2391761?v=3","gravatar_id":"","url":"https://api.github.com/users/SpecLad","html_url":"https://github.com/SpecLad","followers_url":"https://api.github.com/users/SpecLad/followers","following_url":"https://api.github.com/users/SpecLad/following{/other_user}","gists_url":"https://api.github.com/users/SpecLad/gists{/gist_id}","starred_url":"https://api.github.com/users/SpecLad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpecLad/subscriptions","organizations_url":"https://api.github.com/users/SpecLad/orgs","repos_url":"https://api.github.com/users/SpecLad/repos","events_url":"https://api.github.com/users/SpecLad/events{/privacy}","received_events_url":"https://api.github.com/users/SpecLad/received_events","type":"User","site_admin":false},"body":"Personally, I would use `list(APPEND)` and then replace `;` with `, `.","created_at":"2016-03-29T15:49:35Z","updated_at":"2016-03-29T15:49:35Z","html_url":"https://github.com/asmorkalov/CMake/pull/16#discussion_r57747604","pull_request_url":"https://api.github.com/repos/asmorkalov/CMake/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/asmorkalov/CMake/pulls/comments/57747604"},"html":{"href":"https://github.com/asmorkalov/CMake/pull/16#discussion_r57747604"},"pull_request":{"href":"https://api.github.com/repos/asmorkalov/CMake/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/asmorkalov/CMake/pulls/16","id":64436743,"html_url":"https://github.com/asmorkalov/CMake/pull/16","diff_url":"https://github.com/asmorkalov/CMake/pull/16.diff","patch_url":"https://github.com/asmorkalov/CMake/pull/16.patch","issue_url":"https://api.github.com/repos/asmorkalov/CMake/issues/16","number":16,"state":"open","locked":false,"title":"Improved deb package generator","user":{"login":"asmorkalov","id":2536374,"avatar_url":"https://avatars.githubusercontent.com/u/2536374?v=3","gravatar_id":"","url":"https://api.github.com/users/asmorkalov","html_url":"https://github.com/asmorkalov","followers_url":"https://api.github.com/users/asmorkalov/followers","following_url":"https://api.github.com/users/asmorkalov/following{/other_user}","gists_url":"https://api.github.com/users/asmorkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmorkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmorkalov/subscriptions","organizations_url":"https://api.github.com/users/asmorkalov/orgs","repos_url":"https://api.github.com/users/asmorkalov/repos","events_url":"https://api.github.com/users/asmorkalov/events{/privacy}","received_events_url":"https://api.github.com/users/asmorkalov/received_events","type":"User","site_admin":false},"body":"* Implemented DEBIAN/shlibs control file generation if thr package contains libraries\r\n* Implemented DEBIAN/postinst and DEBAIN/postrm files generation if the package\r\n  installs librararies in ldconfig contolled location (/lib/, /usr/lib/)\r\n* Implemented dependencies between Debian packages if multi-component setup is used\r\n* Implemented proper Debian packages file naming for multi-component setup\r\n* Allowed to set per-compoment Debian package architecture for multi-compoment setup.\r\n  Useful, if you distribute documentation (should have \"all architecture\").","created_at":"2016-03-29T09:29:37Z","updated_at":"2016-03-29T15:49:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4025f31a5e5faed717a08463baa037fda4bce7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asmorkalov/CMake/pulls/16/commits","review_comments_url":"https://api.github.com/repos/asmorkalov/CMake/pulls/16/comments","review_comment_url":"https://api.github.com/repos/asmorkalov/CMake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asmorkalov/CMake/issues/16/comments","statuses_url":"https://api.github.com/repos/asmorkalov/CMake/statuses/b3820f9c24e44052553cf4a7b7f88c414abd3fa5","head":{"label":"asmorkalov:deb_generator_improvement_upstream","ref":"deb_generator_improvement_upstream","sha":"b3820f9c24e44052553cf4a7b7f88c414abd3fa5","user":{"login":"asmorkalov","id":2536374,"avatar_url":"https://avatars.githubusercontent.com/u/2536374?v=3","gravatar_id":"","url":"https://api.github.com/users/asmorkalov","html_url":"https://github.com/asmorkalov","followers_url":"https://api.github.com/users/asmorkalov/followers","following_url":"https://api.github.com/users/asmorkalov/following{/other_user}","gists_url":"https://api.github.com/users/asmorkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmorkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmorkalov/subscriptions","organizations_url":"https://api.github.com/users/asmorkalov/orgs","repos_url":"https://api.github.com/users/asmorkalov/repos","events_url":"https://api.github.com/users/asmorkalov/events{/privacy}","received_events_url":"https://api.github.com/users/asmorkalov/received_events","type":"User","site_admin":false},"repo":{"id":16177698,"name":"CMake","full_name":"asmorkalov/CMake","owner":{"login":"asmorkalov","id":2536374,"avatar_url":"https://avatars.githubusercontent.com/u/2536374?v=3","gravatar_id":"","url":"https://api.github.com/users/asmorkalov","html_url":"https://github.com/asmorkalov","followers_url":"https://api.github.com/users/asmorkalov/followers","following_url":"https://api.github.com/users/asmorkalov/following{/other_user}","gists_url":"https://api.github.com/users/asmorkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmorkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmorkalov/subscriptions","organizations_url":"https://api.github.com/users/asmorkalov/orgs","repos_url":"https://api.github.com/users/asmorkalov/repos","events_url":"https://api.github.com/users/asmorkalov/events{/privacy}","received_events_url":"https://api.github.com/users/asmorkalov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asmorkalov/CMake","description":"CMake, the cross-platform, open-source build system.","fork":true,"url":"https://api.github.com/repos/asmorkalov/CMake","forks_url":"https://api.github.com/repos/asmorkalov/CMake/forks","keys_url":"https://api.github.com/repos/asmorkalov/CMake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asmorkalov/CMake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asmorkalov/CMake/teams","hooks_url":"https://api.github.com/repos/asmorkalov/CMake/hooks","issue_events_url":"https://api.github.com/repos/asmorkalov/CMake/issues/events{/number}","events_url":"https://api.github.com/repos/asmorkalov/CMake/events","assignees_url":"https://api.github.com/repos/asmorkalov/CMake/assignees{/user}","branches_url":"https://api.github.com/repos/asmorkalov/CMake/branches{/branch}","tags_url":"https://api.github.com/repos/asmorkalov/CMake/tags","blobs_url":"https://api.github.com/repos/asmorkalov/CMake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asmorkalov/CMake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asmorkalov/CMake/git/refs{/sha}","trees_url":"https://api.github.com/repos/asmorkalov/CMake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asmorkalov/CMake/statuses/{sha}","languages_url":"https://api.github.com/repos/asmorkalov/CMake/languages","stargazers_url":"https://api.github.com/repos/asmorkalov/CMake/stargazers","contributors_url":"https://api.github.com/repos/asmorkalov/CMake/contributors","subscribers_url":"https://api.github.com/repos/asmorkalov/CMake/subscribers","subscription_url":"https://api.github.com/repos/asmorkalov/CMake/subscription","commits_url":"https://api.github.com/repos/asmorkalov/CMake/commits{/sha}","git_commits_url":"https://api.github.com/repos/asmorkalov/CMake/git/commits{/sha}","comments_url":"https://api.github.com/repos/asmorkalov/CMake/comments{/number}","issue_comment_url":"https://api.github.com/repos/asmorkalov/CMake/issues/comments{/number}","contents_url":"https://api.github.com/repos/asmorkalov/CMake/contents/{+path}","compare_url":"https://api.github.com/repos/asmorkalov/CMake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asmorkalov/CMake/merges","archive_url":"https://api.github.com/repos/asmorkalov/CMake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asmorkalov/CMake/downloads","issues_url":"https://api.github.com/repos/asmorkalov/CMake/issues{/number}","pulls_url":"https://api.github.com/repos/asmorkalov/CMake/pulls{/number}","milestones_url":"https://api.github.com/repos/asmorkalov/CMake/milestones{/number}","notifications_url":"https://api.github.com/repos/asmorkalov/CMake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asmorkalov/CMake/labels{/name}","releases_url":"https://api.github.com/repos/asmorkalov/CMake/releases{/id}","deployments_url":"https://api.github.com/repos/asmorkalov/CMake/deployments","created_at":"2014-01-23T16:17:08Z","updated_at":"2016-03-29T09:28:48Z","pushed_at":"2016-03-29T09:34:59Z","git_url":"git://github.com/asmorkalov/CMake.git","ssh_url":"git@github.com:asmorkalov/CMake.git","clone_url":"https://github.com/asmorkalov/CMake.git","svn_url":"https://github.com/asmorkalov/CMake","homepage":"http://www.cmake.org","size":71335,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"asmorkalov:master","ref":"master","sha":"98f3edcec96b3854126c37e9a44915e77fcd9867","user":{"login":"asmorkalov","id":2536374,"avatar_url":"https://avatars.githubusercontent.com/u/2536374?v=3","gravatar_id":"","url":"https://api.github.com/users/asmorkalov","html_url":"https://github.com/asmorkalov","followers_url":"https://api.github.com/users/asmorkalov/followers","following_url":"https://api.github.com/users/asmorkalov/following{/other_user}","gists_url":"https://api.github.com/users/asmorkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmorkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmorkalov/subscriptions","organizations_url":"https://api.github.com/users/asmorkalov/orgs","repos_url":"https://api.github.com/users/asmorkalov/repos","events_url":"https://api.github.com/users/asmorkalov/events{/privacy}","received_events_url":"https://api.github.com/users/asmorkalov/received_events","type":"User","site_admin":false},"repo":{"id":16177698,"name":"CMake","full_name":"asmorkalov/CMake","owner":{"login":"asmorkalov","id":2536374,"avatar_url":"https://avatars.githubusercontent.com/u/2536374?v=3","gravatar_id":"","url":"https://api.github.com/users/asmorkalov","html_url":"https://github.com/asmorkalov","followers_url":"https://api.github.com/users/asmorkalov/followers","following_url":"https://api.github.com/users/asmorkalov/following{/other_user}","gists_url":"https://api.github.com/users/asmorkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmorkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmorkalov/subscriptions","organizations_url":"https://api.github.com/users/asmorkalov/orgs","repos_url":"https://api.github.com/users/asmorkalov/repos","events_url":"https://api.github.com/users/asmorkalov/events{/privacy}","received_events_url":"https://api.github.com/users/asmorkalov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asmorkalov/CMake","description":"CMake, the cross-platform, open-source build system.","fork":true,"url":"https://api.github.com/repos/asmorkalov/CMake","forks_url":"https://api.github.com/repos/asmorkalov/CMake/forks","keys_url":"https://api.github.com/repos/asmorkalov/CMake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asmorkalov/CMake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asmorkalov/CMake/teams","hooks_url":"https://api.github.com/repos/asmorkalov/CMake/hooks","issue_events_url":"https://api.github.com/repos/asmorkalov/CMake/issues/events{/number}","events_url":"https://api.github.com/repos/asmorkalov/CMake/events","assignees_url":"https://api.github.com/repos/asmorkalov/CMake/assignees{/user}","branches_url":"https://api.github.com/repos/asmorkalov/CMake/branches{/branch}","tags_url":"https://api.github.com/repos/asmorkalov/CMake/tags","blobs_url":"https://api.github.com/repos/asmorkalov/CMake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asmorkalov/CMake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asmorkalov/CMake/git/refs{/sha}","trees_url":"https://api.github.com/repos/asmorkalov/CMake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asmorkalov/CMake/statuses/{sha}","languages_url":"https://api.github.com/repos/asmorkalov/CMake/languages","stargazers_url":"https://api.github.com/repos/asmorkalov/CMake/stargazers","contributors_url":"https://api.github.com/repos/asmorkalov/CMake/contributors","subscribers_url":"https://api.github.com/repos/asmorkalov/CMake/subscribers","subscription_url":"https://api.github.com/repos/asmorkalov/CMake/subscription","commits_url":"https://api.github.com/repos/asmorkalov/CMake/commits{/sha}","git_commits_url":"https://api.github.com/repos/asmorkalov/CMake/git/commits{/sha}","comments_url":"https://api.github.com/repos/asmorkalov/CMake/comments{/number}","issue_comment_url":"https://api.github.com/repos/asmorkalov/CMake/issues/comments{/number}","contents_url":"https://api.github.com/repos/asmorkalov/CMake/contents/{+path}","compare_url":"https://api.github.com/repos/asmorkalov/CMake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asmorkalov/CMake/merges","archive_url":"https://api.github.com/repos/asmorkalov/CMake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asmorkalov/CMake/downloads","issues_url":"https://api.github.com/repos/asmorkalov/CMake/issues{/number}","pulls_url":"https://api.github.com/repos/asmorkalov/CMake/pulls{/number}","milestones_url":"https://api.github.com/repos/asmorkalov/CMake/milestones{/number}","notifications_url":"https://api.github.com/repos/asmorkalov/CMake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asmorkalov/CMake/labels{/name}","releases_url":"https://api.github.com/repos/asmorkalov/CMake/releases{/id}","deployments_url":"https://api.github.com/repos/asmorkalov/CMake/deployments","created_at":"2014-01-23T16:17:08Z","updated_at":"2016-03-29T09:28:48Z","pushed_at":"2016-03-29T09:34:59Z","git_url":"git://github.com/asmorkalov/CMake.git","ssh_url":"git@github.com:asmorkalov/CMake.git","clone_url":"https://github.com/asmorkalov/CMake.git","svn_url":"https://github.com/asmorkalov/CMake","homepage":"http://www.cmake.org","size":71335,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asmorkalov/CMake/pulls/16"},"html":{"href":"https://github.com/asmorkalov/CMake/pull/16"},"issue":{"href":"https://api.github.com/repos/asmorkalov/CMake/issues/16"},"comments":{"href":"https://api.github.com/repos/asmorkalov/CMake/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/asmorkalov/CMake/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/asmorkalov/CMake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asmorkalov/CMake/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/asmorkalov/CMake/statuses/b3820f9c24e44052553cf4a7b7f88c414abd3fa5"}}}}