Ticket #53201: patch-Modules-IgnorePolicy25.diff
File patch-Modules-IgnorePolicy25.diff, 801 bytes (added by RJVB (René Bertin), 7 years ago) |
---|
-
Modules/Compiler/
old new 2 2 __compiler_clang(C) 3 3 4 4 cmake_policy(GET CMP0025 appleClangPolicy) 5 if(WIN32 OR (APPLE AND NOT appleClangPolicy STREQUAL NEW))5 if(WIN32) 6 6 return() 7 7 endif() 8 8 -
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")