aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/EthCompilerSettings.cmake
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2017-09-20 22:39:41 +0800
committerPaweł Bylica <chfast@gmail.com>2017-09-20 22:39:41 +0800
commit49c98bbc34902d2f5d66518341cfd41ac2d7bef3 (patch)
tree0c03cada4ba28bd452ee19caac0039c76a76d7f5 /cmake/EthCompilerSettings.cmake
parent137b214be471dd690aeadaf0e02b9ad0915d9e84 (diff)
downloaddexon-solidity-49c98bbc34902d2f5d66518341cfd41ac2d7bef3.tar.gz
dexon-solidity-49c98bbc34902d2f5d66518341cfd41ac2d7bef3.tar.zst
dexon-solidity-49c98bbc34902d2f5d66518341cfd41ac2d7bef3.zip
CMake: Better ccache configuration
EthCcache module taken from cpp-ethereum.
Diffstat (limited to 'cmake/EthCompilerSettings.cmake')
-rw-r--r--cmake/EthCompilerSettings.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake
index 117dd319..1a00ae70 100644
--- a/cmake/EthCompilerSettings.cmake
+++ b/cmake/EthCompilerSettings.cmake
@@ -14,14 +14,6 @@
#
# These settings then end up spanning all POSIX platforms (Linux, OS X, BSD, etc)
-# Use ccache if available
-find_program(CCACHE_FOUND ccache)
-if(CCACHE_FOUND)
- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
- message("Using ccache")
-endif(CCACHE_FOUND)
-
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(-fstack-protector-strong have_stack_protector_strong)