CMake developers wouldn't be proud of this...