Use CMAKE_MATCH_1 instead of CMAKE_MATCH_0 which holds the entire match.
This speeds up CMake recompilation significantly. The default behaviour is to search for CCache and use it if available; this can be disabled explicitly by setting OPENRCT2_USE_CCACHE=OFF in CMake.