• Brad King's avatar
    Use work-around from bug 4772 for C++ and Fortran · d0c03f80
    Brad King authored
    The commit "fix for bug 4772" added a work-around to CMakeCInformation
    for platform config files that put compiler information in the system
    file (like SunOS flags for GCC).  This commit adds the same work-around
    for CXX and Fortran.  It is necessary to support enabling these
    languages separately from C in other subdirectories.
    
    The commit "Avoid (Unix|Windows)Paths.cmake multiple include" added
    include blockers that prevent the files from multiple inclusion, so it
    is safe to include the system information files from every language.
    
    See issue #4772 and issue #9656.
    d0c03f80
CMakeCXXInformation.cmake 10.6 KB