aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 661b3f6a..c1d58405 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,6 +122,12 @@ set(PROJ_BUILD_VERSION "${PROJ_API_VERSION}.${PROJ_LIBTOOL_AGE}.${PROJ_LIBTOOL_R
################################################################################
# Build features and variants
################################################################################
+
+option(USE_CCACHE "Use ccache to compile C/C++ objects" OFF)
+if(USE_CCACHE)
+ include(Ccache)
+endif()
+
include(ProjConfig)
include(ProjMac)
include(policies)