def METHOD_NAME(self):
    tc = CMakeToolchain(self)
    if is_apple_os(self):
        tc.cache_variables["PLATFORM"] = "apple-clang"
    elif is_msvc(self):
        tc.cache_variables["PLATFORM"] = "vc"
    else:
        tc.cache_variables["PLATFORM"] = str(self.settings.os)
    # ARCH is used only for setting the output directory, except if host is macOS
    # where ARCH is used to select proper pre-compiled proprietary Structured Storage library.
    if self.settings.os == "Macos" and self.settings.arch == "armv8":
        tc.cache_variables["ARCH"] = "arm64"
    else:
        tc.cache_variables["ARCH"] = "x86_64"
    tc.cache_variables["AAF_NO_STRUCTURED_STORAGE"] = not self.options.structured_storage
    jpeg_res_dirs = ";".join([p.replace("\\", "/") for p in self.dependencies["libjpeg"].cpp_info.aggregated_components().resdirs])
    tc.variables["JPEG_RES_DIRS"] = jpeg_res_dirs
    tc.METHOD_NAME()
    deps = CMakeDeps(self)
    deps.METHOD_NAME()