mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
Revert "cmake: add ccache support"
This reverts commit 93f5348c47.
You should use the CMake flag `-DCMAKE_CXX_COMPILER_LAUNCHER=ccache`
instead.
Sibling-to: https://github.com/libtom/libtommath/pull/577
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
parent
c895dd990c
commit
52b93bf3d1
1 changed files with 0 additions and 14 deletions
|
|
@ -50,20 +50,6 @@ option(BUILD_SHARED_LIBS
|
|||
)
|
||||
option(WITH_PTHREAD "Build with pthread support" FALSE)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# 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
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue