I assume he meant to do a add_defintions(-DUSE_WAYLAND)