Ticket #53201: patch-Modules-IgnorePolicy25.2.diff
File patch-Modules-IgnorePolicy25.2.diff, 960 bytes (added by RJVB (René Bertin), 7 years ago) |
---|
-
Modules/Compiler/
old new 6 6 endif() 7 7 8 8 cmake_policy(GET CMP0025 appleClangPolicy) 9 if(APPLE AND NOT appleClangPolicy STREQUAL NEW)10 return()11 endif()9 #if(APPLE AND NOT appleClangPolicy STREQUAL NEW) 10 # return() 11 #endif() 12 12 13 13 if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 2.1) 14 14 set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98") -
Modules/Compiler/Clang-C.cmake
old new 2 2 __compiler_clang(C) 3 3 4 4 cmake_policy(GET CMP0025 appleClangPolicy) 5 if(APPLE AND NOT appleClangPolicy STREQUAL NEW)6 return()7 endif()5 # if(APPLE AND NOT appleClangPolicy STREQUAL NEW) 6 # return() 7 # endif() 8 8 9 9 if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 3.4) 10 10 if(NOT "x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC")