Update  cmake for split of plain_mechanism