mirror of https://github.com/oxen-io/lokinet
Add support for building with ccache
This commit is contained in:
parent
e762c5c252
commit
4f3c2a7e80
|
@ -18,6 +18,11 @@ option(TESTNET "testnet build" )
|
|||
option(WITH_SHARED "build shared library")
|
||||
option(WITH_COVERAGE "generate coverage data")
|
||||
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
if(CCACHE_PROGRAM)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
ENABLE_LANGUAGE(RC)
|
||||
|
|
Loading…
Reference in New Issue