diff --git a/CMakeLists.txt b/CMakeLists.txt index 3171cc6597..d66a98f67f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,16 +98,6 @@ else() set(ZIG_STATIC_CURSES off) endif() set(ZIG_STATIC_CURSES ${ZIG_STATIC_CURSES} CACHE BOOL "Prefer linking against static curses") -set(ZIG_USE_CCACHE off CACHE BOOL "Use ccache") - -if(ZIG_USE_CCACHE) - find_program(CCACHE_PROGRAM ccache) - if(CCACHE_PROGRAM) - set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") - else() - message(SEND_ERROR "ccache requested but not found") - endif() -endif() if (ZIG_SHARED_LLVM AND ZIG_STATIC_LLVM) message(SEND_ERROR "-DZIG_SHARED_LLVM and -DZIG_STATIC_LLVM cannot both be enabled simultaneously")