The existing compiler warnings expected either clang/GCC or MSVC, thus making CMakeLists less future proof.