Add ccache support
This commit is contained in:
parent
fe4e5522ed
commit
1100f7155c
@ -1,4 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.5.1)
|
||||
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
if(CCACHE_PROGRAM)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
|
||||
endif()
|
||||
|
||||
project(openauto CXX)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user