Got kdesudo installed on the rpi using the armhf version. ran the cmake command again and it failed. Made sure I had all required programs installed. Still failed. Looked over the error log and output log (made no sense to me). Decided to start over by deleting the build folder and then running the commands from creating the build directory.