build: Fix typo in buildspark.py

* Replace literal '2022' w/ var 'year'
This commit is contained in:
John Colvin committed 2022-02-04 17:41:29 -05:00
1 parent 1fa17d63a2
commit 7d7ccc67e0
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ class VisualStudioContext:
def configure_libspark(self, build_dir):
with CWD(build_dir):
subprocess.call(
f'cmake.exe -G "Visual Studio {self.version} 2022" {SparkPaths.root()}'
f'cmake.exe -G "Visual Studio {self.version} {self.year}" {SparkPaths.root()}'
)
shutil.copy(
f'{SparkPaths.tools()}\\cpp.build.props',