def METHOD_NAME(self):
    apply_conandata_patches(self)
    # No warnings as errors
    for target in ["rttr_core", "rttr_core_lib", "rttr_core_s", "rttr_core_lib_s"]:
        replace_in_file(
            self,
            os.path.join(self.source_folder, "src", "rttr", "CMakeLists.txt"),
            f"set_compiler_warnings({target})",
            "",
        )