Skip to content

Commit

Permalink
Bump cmake version requirement in BUILDING doc (#550)
Browse files Browse the repository at this point in the history
#538 bumped minimal CMake version to 3.0 at least. #549 pointed out that some documentation does not reflect this change.

Modify existing documentation to cater for the CMake version bump. Also call out CMake executable name differences
  • Loading branch information
torben-hansen authored Jul 12, 2022
1 parent 33dd38e commit 7a22b71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Unless otherwise noted, build tools must at most five years old, matching
[Abseil guidelines](https://abseil.io/about/compatibility). If in doubt, use the
most recent stable version of each tool.

* [CMake](https://cmake.org/download/) 2.8.12 or later is required.
* [CMake](https://cmake.org/download/) 3.0 or later is required.

* A recent version of Perl is required. On Windows,
[Active State Perl](http://www.activestate.com/activeperl/) has been
Expand Down Expand Up @@ -49,6 +49,11 @@ most recent stable version of each tool.

## Building

We use CMake to manage the build process. Note that the executable name for
CMake version 3.0 and later differs depending on the OS. For example, on Amazon
Linux 2 the executable name is `cmake3` while on Ubuntu 20.04 the executable
name is `cmake`. Modify command snippets below accordingly.

Using Ninja (note the 'N' is capitalized in the cmake invocation):

mkdir build
Expand Down

0 comments on commit 7a22b71

Please sign in to comment.