Test save cmake cache.