浏览代码

Documentation: Add how to update build to use SerenityOS-provided CMake

Taj Morton 2 年之前
父节点
当前提交
f2253d11e5
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Documentation/BuildInstructions.md

+ 7 - 0
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
 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.
 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
 ### Windows
 
 
 If you're on Windows you can use WSL2 to build SerenityOS. Please have a look at the [Windows guide](BuildInstructionsWindows.md)
 If you're on Windows you can use WSL2 to build SerenityOS. Please have a look at the [Windows guide](BuildInstructionsWindows.md)