• Brad King's avatar
    CMakeVersion.rc: Avoid leading zeros in integer version components · 588a1afe
    Brad King authored
    The split in commit v3.11.0-rc1~232^2 (CMakeVersion RC file: Split patch
    into 2 components, 2017-12-01) can leave components "2018,0309", but the
    latter is an octal constant with digit "9" out of range.  Strip the
    leading zero to express the components as "2018,309" so the resource
    compiler treats them as decimal.
CMakeVersionCompute.cmake 1.67 KB