def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "CAF")
    self.cpp_info.components["caf_core"].set_property("cmake_target_name", "CAF::core")
    self.cpp_info.components["caf_core"].libs = ["caf_core"]
    if self.settings.os == "Windows":
        self.cpp_info.components["caf_core"].system_libs = ["iphlpapi"]
    elif self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.components["caf_core"].system_libs = ["pthread", "m"]
    self.cpp_info.components["caf_io"].set_property("cmake_target_name", "CAF::io")
    self.cpp_info.components["caf_io"].libs = ["caf_io"]
    self.cpp_info.components["caf_io"].requires = ["caf_core"]
    if self.settings.os == "Windows":
        self.cpp_info.components["caf_io"].system_libs = ["ws2_32"]
    if self.options.with_openssl:
        self.cpp_info.components["caf_openssl"].set_property("cmake_target_name", "CAF::openssl")
        self.cpp_info.components["caf_openssl"].libs = ["caf_openssl"]
        self.cpp_info.components["caf_openssl"].requires = ["caf_io", "openssl::openssl"]
    # TODO: to remove in conan v2 once cmake_find_package* generators removed
    self.cpp_info.names["cmake_find_package"] = "CAF"
    self.cpp_info.names["cmake_find_package_multi"] = "CAF"
    self.cpp_info.components["caf_core"].names["cmake_find_package"] = "core"
    self.cpp_info.components["caf_core"].names["cmake_find_package_multi"] = "core"
    self.cpp_info.components["caf_io"].names["cmake_find_package"] = "io"
    self.cpp_info.components["caf_io"].names["cmake_find_package_multi"] = "io"
    if self.options.with_openssl:
        self.cpp_info.components["caf_openssl"].names["cmake_find_package"] = "openssl"
        self.cpp_info.components["caf_openssl"].names["cmake_find_package_multi"] = "openssl"