From 05df451f3c370e6ba8a02d8b0268d88c23db269b Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Tue, 18 Jul 2017 12:36:22 -0400 Subject: [build] Add ccache install reminder and docs (#9520) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c6758cdacb..8ce43f998a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,8 @@ if(CCACHE_PROGRAM) # Clang also thinks that ccache isn't interactive, so we explicitly need to enable color. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Qunused-arguments -fcolor-diagnostics") endif() +else() + message(STATUS "Can't find ccache — consider installing ccache to improve recompilation performance") endif() if(NOT EXISTS ${CMAKE_SOURCE_DIR}/platform/${MBGL_PLATFORM}/config.cmake) -- cgit v1.2.1