From f2253d11e5ddfebcc1b626343c741e44f5666b49 Mon Sep 17 00:00:00 2001 From: Taj Morton Date: Fri, 30 Dec 2022 23:02:39 -0800 Subject: [PATCH] Documentation: Add how to update build to use SerenityOS-provided CMake --- Documentation/BuildInstructions.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index 4e98d3c1fc..3a6e6014b6 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -50,6 +50,13 @@ If more patches are upstreamed to CMake, the minimum will be bumped again once t To accommodate 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. +If you have previously compiled SerenityOS with an older or distribution-provided version of CMake, +you will need to manually remove the CMakeCache.txt files, as these files reference the older CMake version and path. +```console +rm Build/*/CMakeCache.txt +``` + + ### Windows If you're on Windows you can use WSL2 to build SerenityOS. Please have a look at the [Windows guide](BuildInstructionsWindows.md)