def METHOD_NAME(self):
    apply_conandata_patches(self)
    if self.options.shared:
        if not self.dependencies["orcania"].options.shared:
            replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"), "Orcania::Orcania", "Orcania::Orcania-static")