mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
Merge pull request #298 from michael-loki/ccache
Add support for building with ccache
This commit is contained in:
commit
9e7b36c9df
@ -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
Block a user