def METHOD_NAME(self):
    version_major = tools.Version(self.version).major
    lib_name = f"ignition-math{version_major}"
    self.cpp_info.names["cmake_find_package"] = lib_name
    self.cpp_info.names["cmake_find_package_multi"] = lib_name
    self.cpp_info.names["cmake_paths"] = lib_name
    self.cpp_info.components[lib_name].names["cmake_find_package"] = lib_name
    self.cpp_info.components[lib_name].names["cmake_find_package_multi"] = lib_name
    self.cpp_info.components[lib_name].names["cmake_paths"] = lib_name
    self.cpp_info.components[lib_name].libs = [lib_name]
    self.cpp_info.components[lib_name].includedirs.append(os.path.join("include", "ignition", "math"+version_major))
    self.cpp_info.components[lib_name].requires = ["swig::swig", "eigen::eigen", "doxygen::doxygen"]
    self.cpp_info.components[lib_name].builddirs = [self._module_file_rel_dir]
    self.cpp_info.components[lib_name].build_modules["cmake_find_package"] = [self._module_file_rel_path]
    self.cpp_info.components[lib_name].build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]
    self.cpp_info.components[lib_name].build_modules["cmake_paths"] = [self._module_file_rel_path]
    self.cpp_info.components["eigen3"].names["cmake_find_package"] = "eigen3"
    self.cpp_info.components["eigen3"].names["cmake_find_package_multi"] = "eigen3"
    self.cpp_info.components["eigen3"].names["cmake_paths"] = "eigen3"
    self.cpp_info.components["eigen3"].includedirs.append(os.path.join("include", "ignition", "math"+version_major))
    self.cpp_info.components["eigen3"].requires = ["eigen::eigen"]
    self.cpp_info.components["eigen3"].builddirs = [self._module_file_rel_dir]
    self.cpp_info.components["eigen3"].build_modules["cmake_find_package"] = [self._module_file_rel_path]
    self.cpp_info.components["eigen3"].build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]
    self.cpp_info.components["eigen3"].build_modules["cmake_paths"] = [self._module_file_rel_path]