From 5902a60167146b12c8ff90d78f2bfccdfad7fb50 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 5 Aug 2023 22:51:15 +0200 Subject: [PATCH] Disable ccache script --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad3a091f9..9a3e5b76d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,15 +73,15 @@ if (POLICY CMP0069) endif() # Configure CCache if available -find_program(CCACHE_FOUND ccache) +#find_program(CCACHE_FOUND ccache) #set(CCACHE_FOUND 0) -if (CCACHE_FOUND) - message(STATUS "Found ccache") - set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) - set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) -else() - message(STATUS "Could NOT find ccache (this is NOT an error)") -endif() +#if (CCACHE_FOUND) +# message(STATUS "Found ccache") +# set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) +# set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) +#else() +# message(STATUS "Could NOT find ccache (this is NOT an error)") +#endif() set(MEMPROF "" CACHE STRING "Use one of \"ON\", \"FAST\" or \"SAFE\" to enable memory profiling. \ Works under macOS and Linux when compiled using glibc. \