From 539b0a7940e547da5042dd2927953a22bba1be0b Mon Sep 17 00:00:00 2001
From: Guilherme Amadio <amadio@cern.ch>
Date: Mon, 13 May 2019 13:26:16 +0200
Subject: [PATCH] RootBuildOptions.cmake: update deprecation messages

---
 cmake/modules/RootBuildOptions.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/modules/RootBuildOptions.cmake b/cmake/modules/RootBuildOptions.cmake
index 58d5f1a37c6..bb98ca564a7 100644
--- a/cmake/modules/RootBuildOptions.cmake
+++ b/cmake/modules/RootBuildOptions.cmake
@@ -355,14 +355,14 @@ endif()
 foreach(opt afdsmgrd afs bonjour castor chirp geocad glite globus gviz hdfs ios
             krb5 ldap qt qtgsi rfio ruby sapdb srp table)
   if(${opt})
-    message(FATAL_ERROR ">>> Option '${opt}' has been removed in ROOT v6.16.")
+    message(FATAL_ERROR ">>> Option '${opt}' is no longer supported in ROOT ${ROOT_VERSION}.")
   endif()
 endforeach()
 
 #---Deprecated options---------------------------------------------------------
 foreach(opt memstat vmc)
   if(${opt})
-    message(DEPRECATION ">>> Option '${opt}' is deprecated and will be removed in ROOT v6.18. Please inform rootdev@cern.ch should you still need it.")
+    message(DEPRECATION ">>> Option '${opt}' is deprecated and will be removed in the next release of ROOT. Please contact root-dev@cern.ch should you still need it.")
   endif()
 endforeach()
 
-- 
GitLab