diff --git a/README.md b/README.md index 1d10249b4..ae8e07689 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ You may need to logout/login for the change (chsh) to take effect. Compiling fish requires: * a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later) -* either GNU Make (all platforms) or Xcode (macOS only) +* CMake, or GNU Make (all platforms), or Xcode (macOS only) * a curses implementation such as ncurses (headers and libraries) * PCRE2 (headers and libraries) - a copy is included with fish * MuParser (headers and libraries) - a copy is included with fish @@ -135,6 +135,16 @@ Compiling from git (that is, not a released tarball) also requires: ### Building from source +#### Using CMake + +```bash +mkdir build; cd build +cmake .. # add -DCMAKE_BUILD_TYPE=Release for release build +make install +```` + +#### Using autotools + ```bash autoreconf --no-recursive #if building from Git ./configure