utils: remove dead cmake code

Authored by kossebau on Nov 1 2019, 12:45 AM.