CMAKE_MAJOR_VERSION
: The Major version of cmake (i.e. the 2 in 2.X.X)
This specifies the major version of the CMake executable being run.