{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/3645","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/3645/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/3645/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/3645/events","html_url":"https://github.com/Itseez/opencv/pull/3645","id":55425307,"number":3645,"title":"Fix for Visual Studio multiprocess builds for CMake versions > 2.8","user":{"login":"SeninAndrew","id":4671455,"avatar_url":"https://avatars.githubusercontent.com/u/4671455?v=3","gravatar_id":"","url":"https://api.github.com/users/SeninAndrew","html_url":"https://github.com/SeninAndrew","followers_url":"https://api.github.com/users/SeninAndrew/followers","following_url":"https://api.github.com/users/SeninAndrew/following{/other_user}","gists_url":"https://api.github.com/users/SeninAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/SeninAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeninAndrew/subscriptions","organizations_url":"https://api.github.com/users/SeninAndrew/orgs","repos_url":"https://api.github.com/users/SeninAndrew/repos","events_url":"https://api.github.com/users/SeninAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/SeninAndrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alalek","id":4981219,"avatar_url":"https://avatars.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-25T19:02:10Z","updated_at":"2015-01-26T09:03:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Itseez/opencv/pulls/3645","html_url":"https://github.com/Itseez/opencv/pull/3645","diff_url":"https://github.com/Itseez/opencv/pull/3645.diff","patch_url":"https://github.com/Itseez/opencv/pull/3645.patch"},"body":"In case CMake version is greater than 2.8 (3.0.1 for example) the /MP option was not added to Visual Studio which increased building time"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv/issues/comments/71430818","html_url":"https://github.com/Itseez/opencv/pull/3645#issuecomment-71430818","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/3645","id":71430818,"user":{"login":"alalek","id":4981219,"avatar_url":"https://avatars.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T09:03:32Z","updated_at":"2015-01-26T09:03:32Z","body":"Looks more better, thanks!\r\n:+1:\r\n\r\n\r\nBTW, CMake 2.6.3+ has CMAKE_VERSION variable (http://www.cmake.org/Bug/view.php?id=9017) so we can use this:\r\n\r\n```\r\nIF(CMAKE_VERSION VERSION_GREATER \"2.8.6\")\r\n```"}}