{"action":"created","issue":{"url":"https://api.github.com/repos/STEllAR-GROUP/hpx/issues/1380","labels_url":"https://api.github.com/repos/STEllAR-GROUP/hpx/issues/1380/labels{/name}","comments_url":"https://api.github.com/repos/STEllAR-GROUP/hpx/issues/1380/comments","events_url":"https://api.github.com/repos/STEllAR-GROUP/hpx/issues/1380/events","html_url":"https://github.com/STEllAR-GROUP/hpx/pull/1380","id":58503022,"number":1380,"title":"resolved warning in CMake 3.1 and newer","user":{"login":"gentryx","id":1305099,"avatar_url":"https://avatars.githubusercontent.com/u/1305099?v=3","gravatar_id":"","url":"https://api.github.com/users/gentryx","html_url":"https://github.com/gentryx","followers_url":"https://api.github.com/users/gentryx/followers","following_url":"https://api.github.com/users/gentryx/following{/other_user}","gists_url":"https://api.github.com/users/gentryx/gists{/gist_id}","starred_url":"https://api.github.com/users/gentryx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentryx/subscriptions","organizations_url":"https://api.github.com/users/gentryx/orgs","repos_url":"https://api.github.com/users/gentryx/repos","events_url":"https://api.github.com/users/gentryx/events{/privacy}","received_events_url":"https://api.github.com/users/gentryx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/STEllAR-GROUP/hpx/labels/category:%20CMake","name":"category: CMake","color":"02e10c"},{"url":"https://api.github.com/repos/STEllAR-GROUP/hpx/labels/type:%20compatibility%20issue","name":"type: compatibility issue","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/STEllAR-GROUP/hpx/milestones/23","labels_url":"https://api.github.com/repos/STEllAR-GROUP/hpx/milestones/23/labels","id":788611,"number":23,"title":"0.9.10","description":"","creator":{"login":"hkaiser","id":568063,"avatar_url":"https://avatars.githubusercontent.com/u/568063?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaiser","html_url":"https://github.com/hkaiser","followers_url":"https://api.github.com/users/hkaiser/followers","following_url":"https://api.github.com/users/hkaiser/following{/other_user}","gists_url":"https://api.github.com/users/hkaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaiser/subscriptions","organizations_url":"https://api.github.com/users/hkaiser/orgs","repos_url":"https://api.github.com/users/hkaiser/repos","events_url":"https://api.github.com/users/hkaiser/events{/privacy}","received_events_url":"https://api.github.com/users/hkaiser/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":82,"state":"open","created_at":"2014-09-13T15:11:03Z","updated_at":"2015-02-22T13:50:47Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-02-22T13:43:02Z","updated_at":"2015-02-23T19:40:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/STEllAR-GROUP/hpx/pulls/1380","html_url":"https://github.com/STEllAR-GROUP/hpx/pull/1380","diff_url":"https://github.com/STEllAR-GROUP/hpx/pull/1380.diff","patch_url":"https://github.com/STEllAR-GROUP/hpx/pull/1380.patch"},"body":"With CMake 3.1.0 I get the following warning when building a code that uses HPX:\r\n\r\n     CMake Warning (dev) at /home/gentryx/local_install/lib/cmake/hpx/HPX_SetupTarget.cmake:134 (if):\r\n       Policy CMP0054 is not set: Only interpret if() arguments as variables or\r\n      keywords when unquoted.  Run \"cmake --help-policy CMP0054\" for policy\r\n      details.  Use the cmake_policy command to set the policy and suppress this\r\n      warning.\r\n\r\n      Quoted variables like \"COMPONENT\" will no longer be dereferenced when the\r\n      policy is set to NEW.  Since the policy is not set the OLD behavior will be\r\n      used.\r\n    Call Stack (most recent call first):\r\n      /home/gentryx/local_install/lib/cmake/hpx/HPX_AddExecutable.cmake:143 (hpx_setup_target)\r\n      src/examples/gameoflife_hpx/CMakeLists.txt:6 (add_hpx_executable)\r\n    This warning is for project developers.  Use -Wno-dev to suppress it.\r\n\r\nThis commit resolves aforementioned ambiguity.\r\n"},"comment":{"url":"https://api.github.com/repos/STEllAR-GROUP/hpx/issues/comments/75615815","html_url":"https://github.com/STEllAR-GROUP/hpx/pull/1380#issuecomment-75615815","issue_url":"https://api.github.com/repos/STEllAR-GROUP/hpx/issues/1380","id":75615815,"user":{"login":"gentryx","id":1305099,"avatar_url":"https://avatars.githubusercontent.com/u/1305099?v=3","gravatar_id":"","url":"https://api.github.com/users/gentryx","html_url":"https://github.com/gentryx","followers_url":"https://api.github.com/users/gentryx/followers","following_url":"https://api.github.com/users/gentryx/following{/other_user}","gists_url":"https://api.github.com/users/gentryx/gists{/gist_id}","starred_url":"https://api.github.com/users/gentryx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentryx/subscriptions","organizations_url":"https://api.github.com/users/gentryx/orgs","repos_url":"https://api.github.com/users/gentryx/repos","events_url":"https://api.github.com/users/gentryx/events{/privacy}","received_events_url":"https://api.github.com/users/gentryx/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T19:40:39Z","updated_at":"2015-02-23T19:40:39Z","body":"AFAIK older CMake versions simply ignore such policies they don't know about."}}