drop unnecessary stuff from the cmake file