Only two occurrence of "CMAKE_COMPILER_IS_GNUC"
There are only two occurance of CMAKE_COMPILER_IS_GNUC in all the cmake sources that I could spot, so I assume those should probably be changed to CMAKE_COMPILER_IS_GNUCC.
Or alternatively remove the sections where this code is used: Nobody seems to be using it.