This flag works on GCC and Clang which afaik are the only supported
compilers on Darwin, but cases can be added for more compilers if needed.
This is done instead of a more generic cmake compiler flag check
because CheckOBJC[XX]CompilerFlag requires CMake v3.16.
This flag works on GCC and Clang which afaik are the only supported compilers on Darwin, but cases can be added for more compilers if needed. This is done instead of a more generic cmake compiler flag check because CheckOBJC[XX]CompilerFlag requires CMake v3.16.