-
Rafael Kitover authored
Ninja requires `-fdiagnostics-color=always` instead of `-fdiagnostics-color=auto` with gcc because it pipes output from the compiler unlike regular makes. Use `-fcolor-diagnostics` for clang, which also works correctly with ninja to show colors. Information for this taken from here: https://medium.com/@alasher/colored-c-compiler-output-with-ninja-clang-gcc-10bfe7f2b949 Set all cmake policies in both the root `CMakeLists.txt` and `src/wx/CMakeLists.txt` to silence warnings about unset policies from cmake. Signed-off-by: Rafael Kitover <rkitover@gmail.com>