def METHOD_NAME(self):
    apply_conandata_patches(self)
    cmakelists = os.path.join(self.source_folder, "CMakeLists.txt")
    # fix c-ares imported target
    replace_in_file(self, cmakelists, "c-ares_lib", "c-ares::cares")
    # Cleanup rpath in shared lib
    replace_in_file(self, cmakelists, "set(CMAKE_INSTALL_RPATH \"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}\")", "")