From bce9060db234f6c268812120f000083a35dd267c 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 bdd53c56e..0bbff428d 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. \