Converting from manually created Makefiles over to CMake