cmake: dubious functionality at best