summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-01 11:40:30 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-01 11:40:35 (GMT)
commit93cd33310351d6e42b5287815b98b841585ac0ca (patch)
treec56a8d566abaf3185c3bbf894cc76eb731987d17 /Modules/Compiler
parenta0d00a17102d2740c1cf4b55fbf37308c7283f20 (diff)
parentf86879a04c4bc940b419a7944077f4b8f1e59e29 (diff)
downloadCMake-93cd33310351d6e42b5287815b98b841585ac0ca.zip
CMake-93cd33310351d6e42b5287815b98b841585ac0ca.tar.gz
CMake-93cd33310351d6e42b5287815b98b841585ac0ca.tar.bz2
Merge topic 'mingw-clang-c-compile-features'
f86879a0 Record C compile features flags for MinGW Clang on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1435
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Clang-C.cmake2
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()