def METHOD_NAME(self):
    if self._cmake:
        return self._cmake
    self._cmake = CMake(self)
    self._cmake.definitions["BUILD_EXAMPLES"] = False
    self._cmake.definitions["BUILD_OPENNI2_DRIVER"] = False
    self._cmake.definitions["ENABLE_CXX11"] = True
    self._cmake.definitions["ENABLE_OPENCL"] = self.options.with_opencl
    self._cmake.definitions["ENABLE_CUDA"] = False # TODO: CUDA
    self._cmake.definitions["ENABLE_OPENGL"] = self.options.with_opengl
    self._cmake.definitions["ENABLE_VAAPI"] = self.options.get_safe("with_vaapi", False)
    self._cmake.definitions["ENABLE_TEGRAJPEG"] = False # TODO: TegraJPEG
    self._cmake.definitions["ENABLE_PROFILING"] = False
    self._cmake.configure(build_folder=self._build_subfolder)
    return self._cmake