diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f59d32e..014fb188 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,20 +33,6 @@ include(sources.cmake) #----------------------------------------------------------------------------- option(BUILD_SHARED_LIBS "Build shared library and only the shared library if \"ON\", default is static" OFF) -#----------------------------------------------------------------------------- -# Add support for ccache if desired -#----------------------------------------------------------------------------- -find_program(CCACHE ccache) - -if(CCACHE) - option(ENABLE_CCACHE "Enable ccache." ON) -endif() - -# use ccache if installed -if(CCACHE AND ENABLE_CCACHE) - set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) -endif() - #----------------------------------------------------------------------------- # Compose CFLAGS #-----------------------------------------------------------------------------