Merge pull request #1565 from SteveGilvarry/avdict

Enable local and travis ccache
pull/1337/merge
Andrew Bauer 2016-07-29 09:34:11 -05:00 committed by GitHub
commit 627b838fc4
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@ notifications:
branches:
except:
- modern
cache: ccache
addons:
sauce_connect:
username: "zoneminder"

View File

@ -742,3 +742,9 @@ configure_file(
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake/cmake_uninstall.cmake)
# Configure 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)
endif(CCACHE_FOUND)