The project can't be compiled without modifications with newer versions of cmake. Since cmake removed the support for cmake 3.5 and deprecated 3.10. I can recommend upgrading to at least 3.15...3.20.
The project can't be compiled with clang-cl either. The reason is, mostly, that the definition of clang is checked, and it is assumed, that the project is compiled in GNU compatibility. But clang is always defined. A better way would be, to check against _MSC_VER.
The project can't be compiled without modifications with newer versions of cmake. Since cmake removed the support for cmake 3.5 and deprecated 3.10. I can recommend upgrading to at least 3.15...3.20.
The project can't be compiled with clang-cl either. The reason is, mostly, that the definition of clang is checked, and it is assumed, that the project is compiled in GNU compatibility. But clang is always defined. A better way would be, to check against _MSC_VER.