• Rafael Kitover's avatar
    cmake: use color gcc/clang output when possible · c6fa7246
    Rafael Kitover authored
    Test for the -fdiagnostics-color=auto compiler option supported by gcc
    and probably clang, and turn it on if it's available.
    
    This option colorizes compiler warnings/errors/etc. when output to a
    terminal.
    
    Also fix a typo above when adding the -fopenmp flag.
    c6fa7246
CMakeLists.txt 23.8 KB