Remove invalid message during cmake