From d6e9d3bb4e4a6f8e24ac60b98a6a98c8206de783 Mon Sep 17 00:00:00 2001 From: juan-lunarg Date: Thu, 4 May 2023 15:48:43 -0600 Subject: [PATCH] cmake: Remove USE_CCACHE This is no longer needed with modern CMake. I've already removed this from several Khronos repos. See this stackoverflow for modern approaches to setting ccache via cmake: https://stackoverflow.com/a/74120112/19739129 --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9612257..e38b5e3a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,14 +108,6 @@ if(ENABLE_GLSLANG_INSTALL AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND WI set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "..." FORCE) endif() -option(USE_CCACHE "Use ccache" OFF) -if(USE_CCACHE) - find_program(CCACHE_FOUND ccache) - if(CCACHE_FOUND) - set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) - endif() -endif() - if(ENABLE_CTEST) include(CTest) endif()