Note that configuration names are case-insensitive. The value of this variable will be the same as it is specified when invoking CMake. For instance, if
-DCMAKE_BUILD_TYPE=ReLeAsEis specified, then the value of
This wording of this portion of the documentation is confusing to me. This seems to imply that
CMAKE_BUILD_TYPE is case sensitive not case insensitive.