1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

Documentation: Explain CMake 3.25.x requirement

This commit is contained in:
Andrew Kaster 2022-12-17 15:40:08 -07:00 committed by Andrew Kaster
parent 75f7a164a6
commit 75495a5d65
2 changed files with 13 additions and 0 deletions

View file

@ -41,6 +41,15 @@ Note that you might need additional dev packages in order to build QEMU on your
sudo apt install libgtk-3-dev libpixman-1-dev libsdl2-dev libspice-server-dev
```
#### CMake version 3.25.0 or later
Serenity-specific patches were upstreamed to CMake in major version 3.25. To avoid carrying
patches to CMake, the minimum required CMake to build Serenity is set to that version.
If more patches are upstreamed to CMake, the minimum will be bumped again once that version releases.
To accomodate distributions that do not ship bleeding-edge CMake versions, the build scripts will
attempt to build CMake from source if the version on your path is older than 3.25.x.
### Windows
If you're on Windows you can use WSL2 to build SerenityOS. Please have a look at the [Windows guide](BuildInstructionsWindows.md)