[Cmake-commits] CMake branch, next, updated. v3.0.0-rc3-2284-gbdd2a1b

Brad King brad.king at kitware.com
Mon Apr 14 09:30:44 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  bdd2a1ba2175c5de36d26608e6d4589c84f04cdb (commit)
       via  7f797fdad743503f4eca52645400ce6909f0ca86 (commit)
      from  1b5ea23ec46b875e558773d6ec90d71d959ae44d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bdd2a1ba2175c5de36d26608e6d4589c84f04cdb
commit bdd2a1ba2175c5de36d26608e6d4589c84f04cdb
Merge: 1b5ea23 7f797fd
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Apr 14 09:30:44 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Apr 14 09:30:44 2014 -0400

    Merge topic 'CMakeDetermineVSServicePack-warn-deprecated' into next
    
    7f797fda CMakeDetermineVSServicePack: Use message(DEPRECATION)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7f797fdad743503f4eca52645400ce6909f0ca86
commit 7f797fdad743503f4eca52645400ce6909f0ca86
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Apr 14 09:28:09 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Apr 14 09:30:12 2014 -0400

    CMakeDetermineVSServicePack: Use message(DEPRECATION)
    
    Issue the diagnostic only when the project requires a new enough CMake
    to use the alternative.  Honor the CMAKE_(ERROR|WARN)_DEPRECATED
    settings.

diff --git a/Modules/CMakeDetermineVSServicePack.cmake b/Modules/CMakeDetermineVSServicePack.cmake
index 243d38a..6886084 100644
--- a/Modules/CMakeDetermineVSServicePack.cmake
+++ b/Modules/CMakeDetermineVSServicePack.cmake
@@ -43,9 +43,11 @@
 # (To distribute this file outside of CMake, substitute the full
 #  License text for the above reference.)
 
-if(NOT CMakeDetermineVSServicePack_NO_WARNING)
-  message(AUTHOR_WARNING "This module is deprecated and should not be used.  "
-    "Use the CMAKE_<LANG>_COMPILER_VERSION variable instead.")
+if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.8)
+  message(DEPRECATION
+    "This module is deprecated and should not be used.  "
+    "Use the CMAKE_<LANG>_COMPILER_VERSION variable instead."
+    )
 endif()
 
 # [INTERNAL]

-----------------------------------------------------------------------

Summary of changes:
 Modules/CMakeDetermineVSServicePack.cmake |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list