So it works for me (on Windows) if I simply properly set ${ROOTSYS} in the environment, before calling CMake
${ROOTSYS}
CMake