{"action":"closed","issue":{"url":"https://api.github.com/repos/tsl0922/ttyd/issues/92","repository_url":"https://api.github.com/repos/tsl0922/ttyd","labels_url":"https://api.github.com/repos/tsl0922/ttyd/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/tsl0922/ttyd/issues/92/comments","events_url":"https://api.github.com/repos/tsl0922/ttyd/issues/92/events","html_url":"https://github.com/tsl0922/ttyd/issues/92","id":301585863,"number":92,"title":"CMake of at least 3.0 is required","user":{"login":"ernstki","id":4009681,"avatar_url":"https://avatars1.githubusercontent.com/u/4009681?v=4","gravatar_id":"","url":"https://api.github.com/users/ernstki","html_url":"https://github.com/ernstki","followers_url":"https://api.github.com/users/ernstki/followers","following_url":"https://api.github.com/users/ernstki/following{/other_user}","gists_url":"https://api.github.com/users/ernstki/gists{/gist_id}","starred_url":"https://api.github.com/users/ernstki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernstki/subscriptions","organizations_url":"https://api.github.com/users/ernstki/orgs","repos_url":"https://api.github.com/users/ernstki/repos","events_url":"https://api.github.com/users/ernstki/events{/privacy}","received_events_url":"https://api.github.com/users/ernstki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-01T22:35:49Z","updated_at":"2018-03-02T00:43:15Z","closed_at":"2018-03-02T00:43:15Z","author_association":"NONE","body":"This is going to be increasingly rare, I know, but systems with old versions of CMake will produce the following error:\r\n\r\n```\r\n$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ttyd-1.4.0 ..\r\nCMake Error at CMakeLists.txt:2 (cmake_policy):\r\n  Policy \"CMP0048\" is not known to this version of CMake.\r\n\r\n\r\nCMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.\r\nMissing variable is:\r\nCMAKE_VERSION_COMPILER_ENV_VAR\r\nCMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.\r\nMissing variable is:\r\nCMAKE_VERSION_COMPILER\r\nCMake Error: Could not find cmake module file: /users/username/devel/web/ttyd/build/CMakeFiles/2.8.12.2/CMakeVERSIONCompiler.cmake\r\nCMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.\r\nMissing variable is:\r\nCMAKE_1.4.0_COMPILER_ENV_VAR\r\nCMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.\r\nMissing variable is:\r\nCMAKE_1.4.0_COMPILER\r\nCMake Error: Could not find cmake module file: /users/username/devel/web/ttyd/build/CMakeFiles/2.8.12.2/CMake1.4.0Compiler.cmake\r\nCMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake\r\nCMake Error: Could not find cmake module file: CMake1.4.0Information.cmake\r\nCMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage\r\nCMake Error: CMAKE_1.4.0_COMPILER not set, after EnableLanguage\r\n-- checking for module 'json-c'\r\n--   found json-c, version 0.11\r\n-- Found JSON-C: /lib64/libjson-c.so\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/users/username/devel/web/ttyd/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/users/username/devel/web/ttyd/build/CMakeFiles/CMakeError.log\".\r\n```\r\n\r\nA pull request to address this in the README is forthcoming."}}
{"actor":{"display_login":"tsl0922"}}