changed commands to lower and VARIABLES to upper case (looking at the CMake docs)
copied previous documentation from website