CMAKE_COMPILER_IS_GNUCXX

New in version 3.7.

True if the C++ (CXX) compiler is GNU. Use CMAKE_CXX_COMPILER_ID instead.