[Cmake-commits] CMake branch, next, updated. v2.8.11.2-3886-gf61423a

Rolf Eike Beer eike at sf-mail.de
Wed Aug 14 16:48:54 EDT 2013


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  f61423ae410adaf8b21852449ec59f04887465a4 (commit)
       via  b3c778a4a69a3d9c61861ccc82171687857c1c07 (commit)
      from  44538208d95136ca2562f997601ab2c05b503168 (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=f61423ae410adaf8b21852449ec59f04887465a4
commit f61423ae410adaf8b21852449ec59f04887465a4
Merge: 4453820 b3c778a
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Wed Aug 14 16:48:51 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Aug 14 16:48:51 2013 -0400

    Merge topic 'cxx11' into next
    
    b3c778a CXXFeatures: allow C++11 flag to be vary if compiler has unexpected features


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3c778a4a69a3d9c61861ccc82171687857c1c07
commit b3c778a4a69a3d9c61861ccc82171687857c1c07
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Wed Aug 14 22:47:47 2013 +0200
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Wed Aug 14 22:47:47 2013 +0200

    CXXFeatures: allow C++11 flag to be vary if compiler has unexpected features
    
    This is especially useful for Clang or the Clang g++ plugin.

diff --git a/Tests/Module/FindCXXFeatures/CMakeLists.txt b/Tests/Module/FindCXXFeatures/CMakeLists.txt
index e70bfdd..ea346ba 100644
--- a/Tests/Module/FindCXXFeatures/CMakeLists.txt
+++ b/Tests/Module/FindCXXFeatures/CMakeLists.txt
@@ -251,6 +251,7 @@ foreach (flag IN LISTS _all_cxx_features)
         message(STATUS "Compiler C++ support flag ${_full_flag} set")
         if (_flag_index EQUAL -1 AND NOT _compiler_unknown_features)
             message(WARNING "C++ feature '${flag}' was detected, but not expected")
+            set(_compiler_unknown_flag)
         endif ()
     else ()
         if (NOT _flag_index EQUAL -1)

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

Summary of changes:
 Tests/Module/FindCXXFeatures/CMakeLists.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list