{"action":"created","comment":{"url":"https://api.github.com/repos/ruslo/hunter/pulls/comments/33881710","id":33881710,"diff_hunk":"@@ -0,0 +1,49 @@\n+# ----------------------------------------------------------------------\n+# FindSQLite3.cmake - SQLite3 CMake module\n+#\n+# Copyright (C) 2015 Alexandre Pretyman. All rights reserved.\n+#\n+# ----------------------------------------------------------------------\n+\n+if(NOT HUNTER_ENABLED)\n+  macro(hunter_status_debug)\n+    message(${ARGV})\n+  endmacro()\n+endif()\n+\n+hunter_status_debug(\"[hunter] SQLITE3_ROOT ${SQLITE3_ROOT}\") \n+\n+find_path(\n+    SQLITE3_INCLUDE_DIR \n+      sqlite3.h\n+    PATHS\n+      \"${SQLITE3_ROOT}/include\"\n+    NO_DEFAULT_PATH\n+)\n+\n+hunter_status_debug(\"[hunter] SQLITE3_INCLUDE_DIR ${SQLITE3_INCLUDE_DIR}\") \n+\n+find_library(\n+    SQLITE3_LIBRARY \n+      sqlite3\n+    PATHS\n+      \"${SQLITE3_ROOT}/lib\"\n+    NO_DEFAULT_PATH\n+)\n+\n+hunter_status_debug(\"[hunter] SQLITE3_LIBRARY ${SQLITE3_LIBRARY}\") \n+\n+if(NOT TARGET \"SQLite3\")\n+  if(SQLITE3_INCLUDE_DIR AND SQLITE3_LIBRARY)\n+    set(SQLITE3_FOUND TRUE)\n+    add_library(\"SQLite3\" UNKNOWN IMPORTED)\n+    set_target_properties(\"SQLite3\"\n+        PROPERTIES\n+          INTERFACE_INCLUDE_DIRECTORIES \"${SQLITE3_INCLUDE_DIR}\"\n+          IMPORTED_LOCATION \"${SQLITE3_LIBRARY}\"\n+    )\n+  get_filename_component(SQLITE3_LIB_DIR \"${SQLITE3_LIBRARY}\" DIRECTORY CACHE)\n+elseif(SQLite3_FIND_REQUIRED)","path":"cmake/find/FindSQLite3.cmake","position":46,"original_position":46,"commit_id":"00baf640fb68e7f0d3e92ac348dd93a0496db3fd","original_commit_id":"00baf640fb68e7f0d3e92ac348dd93a0496db3fd","user":{"login":"pretyman","id":5530143,"avatar_url":"https://avatars.githubusercontent.com/u/5530143?v=3","gravatar_id":"","url":"https://api.github.com/users/pretyman","html_url":"https://github.com/pretyman","followers_url":"https://api.github.com/users/pretyman/followers","following_url":"https://api.github.com/users/pretyman/following{/other_user}","gists_url":"https://api.github.com/users/pretyman/gists{/gist_id}","starred_url":"https://api.github.com/users/pretyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pretyman/subscriptions","organizations_url":"https://api.github.com/users/pretyman/orgs","repos_url":"https://api.github.com/users/pretyman/repos","events_url":"https://api.github.com/users/pretyman/events{/privacy}","received_events_url":"https://api.github.com/users/pretyman/received_events","type":"User","site_admin":false},"body":"Sharp eye, well spotted, thanks ;-) ","created_at":"2015-07-03T21:57:18Z","updated_at":"2015-07-03T21:57:18Z","html_url":"https://github.com/ruslo/hunter/pull/175#discussion_r33881710","pull_request_url":"https://api.github.com/repos/ruslo/hunter/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/ruslo/hunter/pulls/comments/33881710"},"html":{"href":"https://github.com/ruslo/hunter/pull/175#discussion_r33881710"},"pull_request":{"href":"https://api.github.com/repos/ruslo/hunter/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/ruslo/hunter/pulls/175","id":37650532,"html_url":"https://github.com/ruslo/hunter/pull/175","diff_url":"https://github.com/ruslo/hunter/pull/175.diff","patch_url":"https://github.com/ruslo/hunter/pull/175.patch","issue_url":"https://api.github.com/repos/ruslo/hunter/issues/175","number":175,"state":"open","locked":false,"title":"odb SQLite + odb compiler + example","user":{"login":"pretyman","id":5530143,"avatar_url":"https://avatars.githubusercontent.com/u/5530143?v=3","gravatar_id":"","url":"https://api.github.com/users/pretyman","html_url":"https://github.com/pretyman","followers_url":"https://api.github.com/users/pretyman/followers","following_url":"https://api.github.com/users/pretyman/following{/other_user}","gists_url":"https://api.github.com/users/pretyman/gists{/gist_id}","starred_url":"https://api.github.com/users/pretyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pretyman/subscriptions","organizations_url":"https://api.github.com/users/pretyman/orgs","repos_url":"https://api.github.com/users/pretyman/repos","events_url":"https://api.github.com/users/pretyman/events{/privacy}","received_events_url":"https://api.github.com/users/pretyman/received_events","type":"User","site_admin":false},"body":"Here are the packages for C++ Object-Relational Mapping (ORM) odb - http://www.codesynthesis.com/products/odb/\r\n\r\nThis commit contains:\r\n* SQLite3 with autotools and flags -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_RTREE=1 (maybe this package is unwanted by hunter, since amalgamation of SQLite3 is usually preferred)\r\n* odb core runtime\r\n* odb compiler\r\n* odb-sqlite for persisting in SQLite3 databases \r\n* examples/odb-sqlite with a working example of the compiler command\r\n* find scripts for SQLite3, odb and odb-compiler","created_at":"2015-06-14T23:19:44Z","updated_at":"2015-07-03T21:57:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b82781bc4dccd5f4480149cda436323ca807159","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ruslo/hunter/pulls/175/commits","review_comments_url":"https://api.github.com/repos/ruslo/hunter/pulls/175/comments","review_comment_url":"https://api.github.com/repos/ruslo/hunter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ruslo/hunter/issues/175/comments","statuses_url":"https://api.github.com/repos/ruslo/hunter/statuses/00baf640fb68e7f0d3e92ac348dd93a0496db3fd","head":{"label":"pretyman:odb","ref":"odb","sha":"00baf640fb68e7f0d3e92ac348dd93a0496db3fd","user":{"login":"pretyman","id":5530143,"avatar_url":"https://avatars.githubusercontent.com/u/5530143?v=3","gravatar_id":"","url":"https://api.github.com/users/pretyman","html_url":"https://github.com/pretyman","followers_url":"https://api.github.com/users/pretyman/followers","following_url":"https://api.github.com/users/pretyman/following{/other_user}","gists_url":"https://api.github.com/users/pretyman/gists{/gist_id}","starred_url":"https://api.github.com/users/pretyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pretyman/subscriptions","organizations_url":"https://api.github.com/users/pretyman/orgs","repos_url":"https://api.github.com/users/pretyman/repos","events_url":"https://api.github.com/users/pretyman/events{/privacy}","received_events_url":"https://api.github.com/users/pretyman/received_events","type":"User","site_admin":false},"repo":{"id":36637343,"name":"hunter","full_name":"pretyman/hunter","owner":{"login":"pretyman","id":5530143,"avatar_url":"https://avatars.githubusercontent.com/u/5530143?v=3","gravatar_id":"","url":"https://api.github.com/users/pretyman","html_url":"https://github.com/pretyman","followers_url":"https://api.github.com/users/pretyman/followers","following_url":"https://api.github.com/users/pretyman/following{/other_user}","gists_url":"https://api.github.com/users/pretyman/gists{/gist_id}","starred_url":"https://api.github.com/users/pretyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pretyman/subscriptions","organizations_url":"https://api.github.com/users/pretyman/orgs","repos_url":"https://api.github.com/users/pretyman/repos","events_url":"https://api.github.com/users/pretyman/events{/privacy}","received_events_url":"https://api.github.com/users/pretyman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pretyman/hunter","description":"Cross-platform package manager for C++ (based on CMake ExternalProject). Linux, Mac, Windows, iOS","fork":true,"url":"https://api.github.com/repos/pretyman/hunter","forks_url":"https://api.github.com/repos/pretyman/hunter/forks","keys_url":"https://api.github.com/repos/pretyman/hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pretyman/hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pretyman/hunter/teams","hooks_url":"https://api.github.com/repos/pretyman/hunter/hooks","issue_events_url":"https://api.github.com/repos/pretyman/hunter/issues/events{/number}","events_url":"https://api.github.com/repos/pretyman/hunter/events","assignees_url":"https://api.github.com/repos/pretyman/hunter/assignees{/user}","branches_url":"https://api.github.com/repos/pretyman/hunter/branches{/branch}","tags_url":"https://api.github.com/repos/pretyman/hunter/tags","blobs_url":"https://api.github.com/repos/pretyman/hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pretyman/hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pretyman/hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/pretyman/hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pretyman/hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/pretyman/hunter/languages","stargazers_url":"https://api.github.com/repos/pretyman/hunter/stargazers","contributors_url":"https://api.github.com/repos/pretyman/hunter/contributors","subscribers_url":"https://api.github.com/repos/pretyman/hunter/subscribers","subscription_url":"https://api.github.com/repos/pretyman/hunter/subscription","commits_url":"https://api.github.com/repos/pretyman/hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/pretyman/hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/pretyman/hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/pretyman/hunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/pretyman/hunter/contents/{+path}","compare_url":"https://api.github.com/repos/pretyman/hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pretyman/hunter/merges","archive_url":"https://api.github.com/repos/pretyman/hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pretyman/hunter/downloads","issues_url":"https://api.github.com/repos/pretyman/hunter/issues{/number}","pulls_url":"https://api.github.com/repos/pretyman/hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/pretyman/hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/pretyman/hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pretyman/hunter/labels{/name}","releases_url":"https://api.github.com/repos/pretyman/hunter/releases{/id}","created_at":"2015-06-01T04:13:08Z","updated_at":"2015-06-01T04:13:08Z","pushed_at":"2015-06-18T04:39:31Z","git_url":"git://github.com/pretyman/hunter.git","ssh_url":"git@github.com:pretyman/hunter.git","clone_url":"https://github.com/pretyman/hunter.git","svn_url":"https://github.com/pretyman/hunter","homepage":"http://goo.gl/wiAG","size":1097,"stargazers_count":0,"watchers_count":0,"language":"CMake","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"odb"}},"base":{"label":"ruslo:develop","ref":"develop","sha":"7e4b6c45fb85df2ec5603a66c91d93d895060ade","user":{"login":"ruslo","id":4346993,"avatar_url":"https://avatars.githubusercontent.com/u/4346993?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslo","html_url":"https://github.com/ruslo","followers_url":"https://api.github.com/users/ruslo/followers","following_url":"https://api.github.com/users/ruslo/following{/other_user}","gists_url":"https://api.github.com/users/ruslo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslo/subscriptions","organizations_url":"https://api.github.com/users/ruslo/orgs","repos_url":"https://api.github.com/users/ruslo/repos","events_url":"https://api.github.com/users/ruslo/events{/privacy}","received_events_url":"https://api.github.com/users/ruslo/received_events","type":"User","site_admin":false},"repo":{"id":14202056,"name":"hunter","full_name":"ruslo/hunter","owner":{"login":"ruslo","id":4346993,"avatar_url":"https://avatars.githubusercontent.com/u/4346993?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslo","html_url":"https://github.com/ruslo","followers_url":"https://api.github.com/users/ruslo/followers","following_url":"https://api.github.com/users/ruslo/following{/other_user}","gists_url":"https://api.github.com/users/ruslo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslo/subscriptions","organizations_url":"https://api.github.com/users/ruslo/orgs","repos_url":"https://api.github.com/users/ruslo/repos","events_url":"https://api.github.com/users/ruslo/events{/privacy}","received_events_url":"https://api.github.com/users/ruslo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruslo/hunter","description":"Cross-platform package manager for C++ (based on CMake ExternalProject). Linux, Mac, Windows, iOS, Android","fork":false,"url":"https://api.github.com/repos/ruslo/hunter","forks_url":"https://api.github.com/repos/ruslo/hunter/forks","keys_url":"https://api.github.com/repos/ruslo/hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruslo/hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruslo/hunter/teams","hooks_url":"https://api.github.com/repos/ruslo/hunter/hooks","issue_events_url":"https://api.github.com/repos/ruslo/hunter/issues/events{/number}","events_url":"https://api.github.com/repos/ruslo/hunter/events","assignees_url":"https://api.github.com/repos/ruslo/hunter/assignees{/user}","branches_url":"https://api.github.com/repos/ruslo/hunter/branches{/branch}","tags_url":"https://api.github.com/repos/ruslo/hunter/tags","blobs_url":"https://api.github.com/repos/ruslo/hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruslo/hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruslo/hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruslo/hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruslo/hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/ruslo/hunter/languages","stargazers_url":"https://api.github.com/repos/ruslo/hunter/stargazers","contributors_url":"https://api.github.com/repos/ruslo/hunter/contributors","subscribers_url":"https://api.github.com/repos/ruslo/hunter/subscribers","subscription_url":"https://api.github.com/repos/ruslo/hunter/subscription","commits_url":"https://api.github.com/repos/ruslo/hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruslo/hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruslo/hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruslo/hunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruslo/hunter/contents/{+path}","compare_url":"https://api.github.com/repos/ruslo/hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruslo/hunter/merges","archive_url":"https://api.github.com/repos/ruslo/hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruslo/hunter/downloads","issues_url":"https://api.github.com/repos/ruslo/hunter/issues{/number}","pulls_url":"https://api.github.com/repos/ruslo/hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/ruslo/hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/ruslo/hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruslo/hunter/labels{/name}","releases_url":"https://api.github.com/repos/ruslo/hunter/releases{/id}","created_at":"2013-11-07T11:32:19Z","updated_at":"2015-07-03T12:39:48Z","pushed_at":"2015-07-03T04:37:47Z","git_url":"git://github.com/ruslo/hunter.git","ssh_url":"git@github.com:ruslo/hunter.git","clone_url":"https://github.com/ruslo/hunter.git","svn_url":"https://github.com/ruslo/hunter","homepage":"http://goo.gl/wiAG","size":3684,"stargazers_count":55,"watchers_count":55,"language":"CMake","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":67,"forks":9,"open_issues":67,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ruslo/hunter/pulls/175"},"html":{"href":"https://github.com/ruslo/hunter/pull/175"},"issue":{"href":"https://api.github.com/repos/ruslo/hunter/issues/175"},"comments":{"href":"https://api.github.com/repos/ruslo/hunter/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/ruslo/hunter/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/ruslo/hunter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ruslo/hunter/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/ruslo/hunter/statuses/00baf640fb68e7f0d3e92ac348dd93a0496db3fd"}}}}