]> prime8.dev >> repos - ttyd.git/commitdiff
Mention that CMake 3.x is required in README (#93)
authorKevin Ernst <ernstki@mail.uc.edu>
Fri, 2 Mar 2018 00:43:15 +0000 (19:43 -0500)
committerShuanglei Tao <tsl0922@gmail.com>
Fri, 2 Mar 2018 00:43:15 +0000 (08:43 +0800)
Closes #92

README.md

index 7c2a083d1700c89c871c169bd8200dcab55fb82d..7328c6b9c59e66d524199e8af45af692f61a7774 100644 (file)
--- a/README.md
+++ b/README.md
@@ -45,7 +45,9 @@ brew install ttyd
     make && make install
     ```
 
-    You may need to compile/install [libwebsockets][2] from source if the `libwebsockets-dev` package is outdated.
+    [CMake][19] of at least 3.0 is required. If you get the error message 'Policy "CMP0048" is not known to this version of CMake,' that means you have an old CMake.
+    
+    You may also need to compile/install [libwebsockets][2] from source if the `libwebsockets-dev` package is outdated.
 
 ## Install on Windows
 
@@ -186,3 +188,4 @@ Docker containers are jailed environments which are more secure, this is useful
   [16]: https://en.wikipedia.org/wiki/ZMODEM
   [17]: https://ohse.de/uwe/software/lrzsz.html
   [18]: https://en.wikipedia.org/wiki/CJK_characters
+  [19]: https://cmake.org/