{"action":"opened","issue":{"url":"https://api.github.com/repos/cellml/libcellml/issues/72","repository_url":"https://api.github.com/repos/cellml/libcellml","labels_url":"https://api.github.com/repos/cellml/libcellml/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/cellml/libcellml/issues/72/comments","events_url":"https://api.github.com/repos/cellml/libcellml/issues/72/events","html_url":"https://github.com/cellml/libcellml/issues/72","id":147692889,"number":72,"title":"CMake deprecation warning for add_compiler_export_flags() function","user":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cellml/libcellml/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T09:40:29Z","updated_at":"2016-04-12T09:40:29Z","closed_at":null,"body":"Using CMake 3.5.1 (i.e. the latest version currently available), we get the following message when doing a simple configuration:\r\n\r\n```\r\n CMake Deprecation Warning at /Applications/CMake.app/Contents/share/cmake-3.5/Modules/GenerateExportHeader.cmake:383 (message):\r\n   The add_compiler_export_flags function is obsolete.  Use the\r\n   CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties\r\n   instead.\r\n Call Stack (most recent call first):\r\n   src/CMakeLists.txt:68 (add_compiler_export_flags)\r\n```"}}