# Regex should be "sloppiness.*time_macros.*pch_defines.*" but due to bug fixed
# in https://ccache.samba.org/releasenotes.html#_ccache_3_2_5 we have to leave
# out pch_defines. Ubuntu 16.04 comes with ccache 3.2.4 ...
string(REGEX MATCH "sloppiness.*time_macros.*"
COTIRE_CCACHE_CONFIG ${CCACHE_CONFIG}
)
if(NOT COTIRE_CCACHE_CONFIG)
message(FATAL_ERROR "CCache not configured! You must set sloppiness to pch_defines,time_macros. See https://docs.opengeosys.org/docs/devguide/advanced/using-ccache")