Thanks, didn't know that! It saves time.
For the record, you only have to delete CMakeCache.txt from the build folder. Wiping out the whole folder works (obviously), but if you've already run "make install", you won't be able to run "make uninstall" once the build folder is gone. At least, not until you "make install" again.