{"action":"opened","issue":{"url":"https://api.github.com/repos/ukoethe/vigra/issues/243","labels_url":"https://api.github.com/repos/ukoethe/vigra/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/ukoethe/vigra/issues/243/comments","events_url":"https://api.github.com/repos/ukoethe/vigra/issues/243/events","html_url":"https://github.com/ukoethe/vigra/issues/243","id":81434002,"number":243,"title":"CMake policy violated (CMP0026)","user":{"login":"hmeine","id":462802,"avatar_url":"https://avatars.githubusercontent.com/u/462802?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeine","html_url":"https://github.com/hmeine","followers_url":"https://api.github.com/users/hmeine/followers","following_url":"https://api.github.com/users/hmeine/following{/other_user}","gists_url":"https://api.github.com/users/hmeine/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeine/subscriptions","organizations_url":"https://api.github.com/users/hmeine/orgs","repos_url":"https://api.github.com/users/hmeine/repos","events_url":"https://api.github.com/users/hmeine/events{/privacy}","received_events_url":"https://api.github.com/users/hmeine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T12:55:47Z","updated_at":"2015-05-27T12:55:47Z","closed_at":null,"body":"CMake 3.0.2 produces a lot of warnings, referring to this issue:\r\n\r\n> CMP0026\r\n> -------\r\n> \r\n> Disallow use of the LOCATION target property.\r\n> \r\n> CMake 2.8.12 and lower allowed reading the LOCATION target\r\n> property (and configuration-specific variants) to\r\n> determine the eventual location of build targets.  This relies on the\r\n> assumption that all necessary information is available at\r\n> configure-time to determine the final location and filename of the\r\n> target.  However, this property is not fully determined until later at\r\n> generate-time.  At generate time, the $\\<TARGET_FILE\\> generator\r\n> expression can be used to determine the eventual LOCATION of a target\r\n> output.\r\n> \r\n> Code which reads the LOCATION target property can be ported to use the\r\n> $\\<TARGET_FILE\\> generator expression together with the file(GENERATE)\r\n> subcommand to generate a file containing the target location.\r\n> \r\n> The OLD behavior for this policy is to allow reading the LOCATION\r\n> properties from build-targets.  The NEW behavior for this policy is to\r\n> not to allow reading the LOCATION properties from build-targets.\r\n> \r\n> This policy was introduced in CMake version 3.0.  CMake version\r\n> 3.0.2 warns when the policy is not set and uses OLD behavior.  Use\r\n> the cmake_policy command to set it to OLD or NEW explicitly."}}