def METHOD_NAME(self):
    apply_conandata_patches(self)
    cmakelists = os.path.join(self.source_folder, "CMakeLists.txt")
    # it does not work on Windows but is not needed
    replace_in_file(self, cmakelists, "add_subdirectory (js)", "")
    # Don't install system libs
    replace_in_file(self, cmakelists, "include (InstallRequiredSystemLibraries)", "")
    # Don't build tools if asked
    if not self.options.tools:
        replace_in_file(self, cmakelists, "add_subdirectory (tools)", "")
        replace_in_file(self, os.path.join(self.source_folder, "cmake", "CMakeLists.txt"),
                              "${TOOLS}", "")