File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,8 @@ include(sources.cmake)
3333#-----------------------------------------------------------------------------
3434option (BUILD_SHARED_LIBS "Build shared library and only the shared library if \" ON\" , default is static" OFF )
3535
36- #-----------------------------------------------------------------------------
37- # Add support for ccache if desired
38- #-----------------------------------------------------------------------------
39- find_program (CCACHE ccache)
40-
41- if (CCACHE)
42- option (ENABLE_CCACHE "Enable ccache." ON )
43- endif ()
44-
45- # use ccache if installed
46- if (CCACHE AND ENABLE_CCACHE)
47- set (CMAKE_C_COMPILER_LAUNCHER ${CCACHE} )
36+ if (ENABLE_CCACHE)
37+ message (DEPRECATION "The 'ENABLE_CCACHE' option is deprecated and is a NOOP now. It will be removed in the next major version" )
4838endif ()
4939
5040#-----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments