From 991bb2b6ebe06c9d7bd513eedb2f7b601d1f16f3 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 8 Jun 2021 18:00:53 +0200 Subject: [PATCH] build: `PROJECT_SOURCE_DIR` explicitly set as the `CCACHE_BASEDIR` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63792cf5..1ccd73e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ ensure_entry_point() # use ccache if available include(ccache) -enable_ccache() +enable_ccache(BASE_DIR ${PROJECT_SOURCE_DIR}) # set restrictive compilation warnings include(warnings)