Skip to content

Commit 01f35ae

Browse files
committed
Revert "cmake: add ccache support"
This reverts commit 93f5348. You should use the CMake flag `-DCMAKE_CXX_COMPILER_LAUNCHER=ccache` instead. Sibling-to: libtom/libtommath#577 Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 9226671 commit 01f35ae

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,6 @@ option(BUILD_SHARED_LIBS
5050
)
5151
option(WITH_PTHREAD "Build with pthread support" FALSE)
5252

53-
# -----------------------------------------------------------------------------
54-
# Add support for ccache if desired
55-
# -----------------------------------------------------------------------------
56-
find_program(CCACHE ccache)
57-
58-
if(CCACHE)
59-
option(ENABLE_CCACHE "Enable ccache." ON)
60-
endif()
61-
62-
# use ccache if installed
63-
if(CCACHE AND ENABLE_CCACHE)
64-
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
65-
endif()
66-
6753
# -----------------------------------------------------------------------------
6854
# Compose CFLAGS
6955
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)