remove unused cmake code