def METHOD_NAME(self):
    if self._cmake:
        return self._cmake
    self._cmake = CMake(self)
    self._cmake.definitions["BUILD_TESTING"] = False
    self._cmake.definitions["JPEGXL_STATIC"] = not self.options.shared
    self._cmake.definitions["JPEGXL_ENABLE_BENCHMARK"] = False
    self._cmake.definitions["JPEGXL_ENABLE_EXAMPLES"] = False
    self._cmake.definitions["JPEGXL_ENABLE_MANPAGES"] = False
    self._cmake.definitions["JPEGXL_ENABLE_SJPEG"] = False
    self._cmake.definitions["JPEGXL_ENABLE_OPENEXR"] = False
    self._cmake.definitions["JPEGXL_ENABLE_SKCMS"] = False
    self._cmake.definitions["JPEGXL_ENABLE_TCMALLOC"] = False
    if tools.cross_building(self):
        self._cmake.definitions["CMAKE_SYSTEM_PROCESSOR"] = \
            str(self.settings.arch)
    self._cmake.configure()
    return self._cmake