From a45d670cf2b61c5f46e5e4cd3758b7fadff47389 Mon Sep 17 00:00:00 2001 From: Piotr Usewicz Date: Sun, 8 Mar 2026 22:21:05 +0100 Subject: [PATCH] Do not force ccache This allows users who do not want to use ccache to... not use it. We set it in the GitHub build action already. --- cmake/StandardProjectSettings.cmake | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmake/StandardProjectSettings.cmake b/cmake/StandardProjectSettings.cmake index 1ad4f275..615beaf3 100644 --- a/cmake/StandardProjectSettings.cmake +++ b/cmake/StandardProjectSettings.cmake @@ -7,14 +7,5 @@ if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo") endif () -find_program(CCACHE ccache) -if (CCACHE) - message(STATUS "Using ccache") - set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) - set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) -else () - message(STATUS "Ccache not found") -endif () - # Generate compile_commands.json to make it easier to work with clang based tools set(CMAKE_EXPORT_COMPILE_COMMANDS ON)