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
This commit is contained in:
parent
955f21aad2
commit
d6e9d3bb4e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user