[Cmake-commits] CMake branch, next, updated. v3.6.2-1890-gfc294ee

Brad King brad.king at kitware.com
Fri Sep 9 10:26:33 EDT 2016


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  fc294ee3521d42734791b04bc33d18deb5e39383 (commit)
       via  93dba286bffe6f4267b29a67016d0e0dff3b1bd5 (commit)
      from  9753c73bcf72c2dbba11c93406501126e93a5baa (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fc294ee3521d42734791b04bc33d18deb5e39383
commit fc294ee3521d42734791b04bc33d18deb5e39383
Merge: 9753c73 93dba28
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Sep 9 10:26:30 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Sep 9 10:26:30 2016 -0400

    Merge topic 'warn-cmake-version' into next
    
    93dba286 Warn when building with CMake older than 2.8.12.2


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=93dba286bffe6f4267b29a67016d0e0dff3b1bd5
commit 93dba286bffe6f4267b29a67016d0e0dff3b1bd5
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Sep 9 10:24:56 2016 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Sep 9 10:24:56 2016 -0400

    Warn when building with CMake older than 2.8.12.2
    
    We will soon require this version to build CMake itself.
    Add a warning to help find automated builds that are using
    an older version.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ef2ca2..97b8561 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,10 @@ if(POLICY CMP0053)
 endif()
 project(CMake)
 
+if(CMAKE_VERSION VERSION_LESS 2.8.12.2)
+  message(WARNING "CMake >= 2.8.12.2 will soon be required.  You are using '${CMAKE_VERSION}'.")
+endif()
+
 if(CMAKE_BOOTSTRAP)
   # Running from bootstrap script.  Set local variable and remove from cache.
   set(CMAKE_BOOTSTRAP 1)

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

Summary of changes:
 CMakeLists.txt |    4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list