mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CMake: Better ccache configuration
EthCcache module taken from cpp-ethereum.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user