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  
    22__compiler_clang(C)
    33
    44cmake_policy(GET CMP0025 appleClangPolicy)
    5 if(WIN32 OR (APPLE AND NOT appleClangPolicy STREQUAL NEW))
     5if(WIN32)
    66  return()
    77endif()
    88
  • Modules/Compiler/

    old new  
    66endif()
    77
    88cmake_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()
    1212
    1313if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 2.1)
    1414  set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98")