Skip to content
  • Robert Maynard's avatar
    PGI: Explicitly specify CMAKE_CXX98_STANDARD_COMPILE_OPTION · 72efd95a
    Robert Maynard authored
    The PGI ( and NVIDIA HPC ) compilers default C++ standard level
    are based on the GCC system headers it is compiling against.
    
    Therefore on newer platforms the default C++ level will be >= 11
    and requesting C++98 compilation mode will fail as no explicit
    flag will be set.
    72efd95a