diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-05-14 21:55:34 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-14 21:55:34 (GMT) |
commit | 5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53 (patch) | |
tree | 384be04d6825629249e279c2079f19f3327884e0 /Modules/Compiler/Clang-CXX.cmake | |
parent | 775458dede98d28fe81ac878541a6ead735443fc (diff) | |
download | CMake-5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53.zip CMake-5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53.tar.gz CMake-5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53.tar.bz2 |
Features: Only require AppleClang policy to be NEW on APPLE.
Diffstat (limited to 'Modules/Compiler/Clang-CXX.cmake')
-rw-r--r-- | Modules/Compiler/Clang-CXX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake index a1b3a10..0409c24 100644 --- a/Modules/Compiler/Clang-CXX.cmake +++ b/Modules/Compiler/Clang-CXX.cmake @@ -6,7 +6,7 @@ if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC") endif() cmake_policy(GET CMP0025 appleClangPolicy) -if(NOT appleClangPolicy STREQUAL NEW) +if(APPLE AND NOT appleClangPolicy STREQUAL NEW) return() endif() |