I'm with @rjeczalik on this one. `add_definitions` is reserved I think to macro definitions. I would prefer the set(CMAK_CXX_FLAGS ...) approach.