Wouldn't you want to make it consistent across whole file? Either `set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")` or `add_definitions(...)` everywhere?