I mean, all cmake does is run some commands for you. You not understanding cmake errors (mostly) means you don't understand the errors given to you by the C/C++ compiler.
CMake can also emit its own errors during the configure step though, particularly if you have complicated build logic and/or lots of external packages.