i'm never writing 3300 lines of cmake in a row again

@whitequark@treehouse.systems

i'm never writing 3300 lines of cmake in a row again