diff options
author | Brad King <brad.king@kitware.com> | 2017-11-01 10:59:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-01 11:28:38 (GMT) |
commit | f86879a04c4bc940b419a7944077f4b8f1e59e29 (patch) | |
tree | 8c67bcfd4b54cda92ba2e1b7506bb33f3a702e36 /Modules/Compiler/Clang-C.cmake | |
parent | a91eb5e41f486628910f189bf40403568af013c7 (diff) | |
download | CMake-f86879a04c4bc940b419a7944077f4b8f1e59e29.zip CMake-f86879a04c4bc940b419a7944077f4b8f1e59e29.tar.gz CMake-f86879a04c4bc940b419a7944077f4b8f1e59e29.tar.bz2 |
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
Diffstat (limited to 'Modules/Compiler/Clang-C.cmake')
-rw-r--r-- | Modules/Compiler/Clang-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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() |