Fix updateVcpkgPackage

This commit is contained in:
Martin Hořeňovský 2017-08-27 11:43:55 +02:00
parent b1d0085796
commit 67dc654c70
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def update_portfile(path, header_hash, licence_hash):
for line in lines:
# Update the version
if 'set(CATCH_VERSION' in line:
line = 'set(CATCH_VERSION v{})'.format(v.getVersionString())
line = 'set(CATCH_VERSION v{})\n'.format(v.getVersionString())
# Determine which file we are updating
if 'vcpkg_download_distfile' in line: