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)