(always include CheckCXXCompilerFlag before calling it)
Mea culpa, the project I tested this with apparently used the macro too.