CPPFORMAT_VERSION -> FMT_VERSION

This commit is contained in:
Victor Zverovich
2016-04-24 07:16:33 -07:00
parent c7d9d79ad2
commit 848ab63a2a
4 changed files with 10 additions and 10 deletions

View File

@ -146,7 +146,7 @@ if __name__ == '__main__':
changes, version = core.publish_file(source_path=changelog_path, writer=MDWriter())
cmakelists = 'CMakeLists.txt'
for line in fileinput.input(os.path.join(cppformat_dir, cmakelists), inplace=True):
prefix = 'set(CPPFORMAT_VERSION '
prefix = 'set(FMT_VERSION '
if line.startswith(prefix):
line = prefix + version + ')\n'
sys.stdout.write(line)