[Cmake-commits] CMake branch, master, updated. v3.10.0-rc3-212-g93cd333

Kitware Robot kwrobot at kitware.com
Wed Nov 1 07:45:09 EDT 2017


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, master has been updated
       via  93cd33310351d6e42b5287815b98b841585ac0ca (commit)
       via  f86879a04c4bc940b419a7944077f4b8f1e59e29 (commit)
      from  a0d00a17102d2740c1cf4b55fbf37308c7283f20 (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=93cd33310351d6e42b5287815b98b841585ac0ca
commit 93cd33310351d6e42b5287815b98b841585ac0ca
Merge: a0d00a1 f86879a
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Nov 1 11:40:30 2017 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Wed Nov 1 07:40:35 2017 -0400

    Merge topic 'mingw-clang-c-compile-features'
    
    f86879a0 Record C compile features flags for MinGW Clang on Windows
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !1435


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f86879a04c4bc940b419a7944077f4b8f1e59e29
commit f86879a04c4bc940b419a7944077f4b8f1e59e29
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Nov 1 06:59:53 2017 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Nov 1 07:28:38 2017 -0400

    Record C compile features flags for MinGW Clang on Windows
    
    This was done for C++ by commit v3.5.0-rc1~69^2 (Record compile features
    for MinGW Clang on Windows, 2016-01-11).  Make the same change for C.
    The `UNIX` condition on Clang C compiler features was already dropped by
    refactoring in commit v3.9.0-rc1~17^2~4 (Compilers: Port to use default
    cmake_record_lang_compile_features macros, 2017-05-10).
    
    Our documentation already claims support for this combination.  This
    was simply an oversight when support was added for MinGW Clang C++.
    
    Issue: #15897
    Issue: #15943

diff --git a/Modules/Compiler/Clang-C.cmake b/Modules/Compiler/Clang-C.cmake
index a5f9d84..a07ae40 100644
--- a/Modules/Compiler/Clang-C.cmake
+++ b/Modules/Compiler/Clang-C.cmake
@@ -2,7 +2,7 @@ include(Compiler/Clang)
 __compiler_clang(C)
 
 cmake_policy(GET CMP0025 appleClangPolicy)
-if(WIN32 OR (APPLE AND NOT appleClangPolicy STREQUAL NEW))
+if(APPLE AND NOT appleClangPolicy STREQUAL NEW)
   return()
 endif()
 

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

Summary of changes:
 Modules/Compiler/Clang-C.cmake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list