From a0a860fa07513e8a2afcf1534c54293a88192155 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Wed, 24 May 2023 12:44:51 +0200 Subject: [PATCH] Documentation: Configure cache dir in CMake settings for CLion Without this, CMake would err out on a missing `/CLDR/version.txt`. --- Documentation/CLionConfiguration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/CLionConfiguration.md b/Documentation/CLionConfiguration.md index c1afdff36aa..30f0f46e2c4 100644 --- a/Documentation/CLionConfiguration.md +++ b/Documentation/CLionConfiguration.md @@ -12,10 +12,11 @@ After opening the `serenity` repository in CLion as a new project, the "`Open Pr `CMake Options`: ``` --GNinja --DCMAKE_TOOLCHAIN_FILE=$CMakeProjectDir$/Build/x86_64/CMakeToolchain.txt -DCMAKE_PREFIX_PATH=$CMakeProjectDir$/Build/lagom-install +-DCMAKE_TOOLCHAIN_FILE=$CMakeProjectDir$/Build/x86_64/CMakeToolchain.txt -DSERENITY_ARCH=x86_64 +-DSERENITY_CACHE_DIR=$CMakeProjectDir$/Build/caches +-GNinja ``` > CLion will complain that the toolchain file doesn't exist yet, if you haven't `cmake` for the SuperBuild step before. The SuperBuild configure step creates the Toolchain file.