cmake: brown paper bag fix on eos serialisation project condition