omfg cmake is going to kill me at some point