From b30db2813cc87bc3f3c7be1b7133efe68413231e Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Thu, 5 Dec 2024 22:25:43 -0800 Subject: [PATCH] docs: update installation docs to say that `cmake` is needed Since we enabled the `zlib-ng` feature from `gix` in 2412fd4, `cmake` is needed when installing from source. --- docs/install-and-setup.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/install-and-setup.md b/docs/install-and-setup.md index b6df3f0a05..dd1524a933 100644 --- a/docs/install-and-setup.md +++ b/docs/install-and-setup.md @@ -30,12 +30,12 @@ be compiled from the same source code. #### From Source -First make sure that you have a Rust version >= 1.76 and that the `libssl-dev`, -`openssl`, `pkg-config`, and `build-essential` packages are installed by running -something like this: +First make sure that you have a Rust version >= 1.76 and that the `cmake`, +`libssl-dev`, `openssl`, `pkg-config`, and `build-essential` packages are +installed by running something like this: ```shell -sudo apt-get install libssl-dev openssl pkg-config build-essential +sudo apt-get install cmake libssl-dev openssl pkg-config build-essential ``` Now run either: @@ -139,6 +139,7 @@ these: ```shell xcode-select --install +brew install cmake brew install openssl brew install pkg-config export PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl@3/lib/pkgconfig" @@ -180,7 +181,14 @@ sudo port install jujutsu ### Windows -First make sure that you have a Rust version >= 1.76. Now run either: +First make sure that you have a Rust version >= 1.76. You will also need +`cmake`, which you can install by running this: + +```shell +winget install cmake +``` + +Now run either: ```shell # To install the *prerelease* version from the main branch