See version.h. Just change SRB2VERSION and VERSION/SUBVERSION get updated atuomatically. You don't need to fuss with VERSIONSTRING(W) either. Also avoids confusion about VERSION math.
version.h
SRB2VERSION
VERSION
SUBVERSION
VERSIONSTRING
W
CMake works!