def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "antlr4-runtime")
    self.cpp_info.set_property("cmake_target_name", "antlr4_shared" if self.options.shared else "antlr4_static")
    libname = "antlr4-runtime"
    if is_msvc(self) and not self.options.shared:
        libname += "-static"
    self.cpp_info.libs = [libname]
    self.cpp_info.includedirs.append(os.path.join("include", "antlr4-runtime"))
    if self.settings.os == "Windows" and not self.options.shared:
        self.cpp_info.defines.append("ANTLR4CPP_STATIC")
    if self.settings.os in ("FreeBSD", "Linux"):
        self.cpp_info.system_libs = ["m", "pthread"]
    elif is_apple_os(self):
        self.cpp_info.frameworks = ["CoreFoundation"]
    # TODO: to remove in conan v2 once cmake_find_package* generatores removed
    self.cpp_info.filenames["cmake_find_package"] = "antlr4-runtime"
    self.cpp_info.filenames["cmake_find_package_multi"] = "antlr4-runtime"
    self.cpp_info.build_modules["cmake_find_package"] = [self._module_file_rel_path]
    self.cpp_info.build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]