{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3085","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3085/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3085/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3085/events","html_url":"https://github.com/RobotLocomotion/drake/pull/3085","id":169985044,"number":3085,"title":"Have cmake_minimum_required before project","user":{"login":"soonho-tri","id":20779767,"avatar_url":"https://avatars.githubusercontent.com/u/20779767?v=3","gravatar_id":"","url":"https://api.github.com/users/soonho-tri","html_url":"https://github.com/soonho-tri","followers_url":"https://api.github.com/users/soonho-tri/followers","following_url":"https://api.github.com/users/soonho-tri/following{/other_user}","gists_url":"https://api.github.com/users/soonho-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/soonho-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soonho-tri/subscriptions","organizations_url":"https://api.github.com/users/soonho-tri/orgs","repos_url":"https://api.github.com/users/soonho-tri/repos","events_url":"https://api.github.com/users/soonho-tri/events{/privacy}","received_events_url":"https://api.github.com/users/soonho-tri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-08-08T17:55:58Z","updated_at":"2016-08-08T17:55:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/3085","html_url":"https://github.com/RobotLocomotion/drake/pull/3085","diff_url":"https://github.com/RobotLocomotion/drake/pull/3085.diff","patch_url":"https://github.com/RobotLocomotion/drake/pull/3085.patch"},"body":"I had a strange behavior using non-Apple clang (clang-3.8.1) on\r\nOSX. Symptom: it doesn't respect `CMAKE_CXX_STANDARD=14` and\r\ndoesn't pass compiler flag `-std=c++14`.\r\n\r\nI looked at an old CMake issue tracker[1] and found that an easy fix is\r\nto put \"cmake_minimum_required\" first before adding \"project\". I checked\r\nthat this solved my problem. There is also a suggested CMake policy[2],\r\nwhich can justify this change.\r\n\r\n[1]: https://cmake.org/Bug/view.php?id=15943\r\n[2]: https://gitlab.kitware.com/cmake/cmake/issues/15544"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/238321840","html_url":"https://github.com/RobotLocomotion/drake/pull/3085#issuecomment-238321840","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/3085","id":238321840,"user":{"login":"drake-jenkins-bot","id":16707381,"avatar_url":"https://avatars.githubusercontent.com/u/16707381?v=3","gravatar_id":"","url":"https://api.github.com/users/drake-jenkins-bot","html_url":"https://github.com/drake-jenkins-bot","followers_url":"https://api.github.com/users/drake-jenkins-bot/followers","following_url":"https://api.github.com/users/drake-jenkins-bot/following{/other_user}","gists_url":"https://api.github.com/users/drake-jenkins-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/drake-jenkins-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drake-jenkins-bot/subscriptions","organizations_url":"https://api.github.com/users/drake-jenkins-bot/orgs","repos_url":"https://api.github.com/users/drake-jenkins-bot/repos","events_url":"https://api.github.com/users/drake-jenkins-bot/events{/privacy}","received_events_url":"https://api.github.com/users/drake-jenkins-bot/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T17:55:58Z","updated_at":"2016-08-08T17:55:58Z","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"drake-jenkins-bot"}}