def METHOD_NAME(self):
    apply_conandata_patches(self)
    # Don't pollute RPATH
    if Version(self.version) < "1.20.0":
        replace_in_file(
            self,
            os.path.join(self.source_folder, "CMakeLists.txt"),
            textwrap.dedent("""\
                include(AddInstallRPATHSupport)
                add_install_rpath_support(BIN_DIRS "${CMAKE_INSTALL_FULL_LIBDIR}"
                                          LIB_DIRS "${CMAKE_INSTALL_FULL_BINDIR}"
                                          INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}"
                                          USE_LINK_PATH)
            """),
            "",
        )