diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py
index a381d636d..94e5dd871 100644
--- a/winbuild/build_prepare.py
+++ b/winbuild/build_prepare.py
@@ -226,21 +226,21 @@ deps = {
"filename": "lcms2-2.13.1.tar.gz",
"dir": "lcms2-2.13.1",
"patch": {
- r"Projects\VC2019\lcms2_static\lcms2_static.vcxproj": {
+ r"Projects\VC2022\lcms2_static\lcms2_static.vcxproj": {
# default is /MD for x86 and /MT for x64, we need /MD always
"MultiThreaded": "MultiThreadedDLL", # noqa: E501
# retarget to default toolset (selected by vcvarsall.bat)
- "v142": "$(DefaultPlatformToolset)", # noqa: E501
+ "v143": "$(DefaultPlatformToolset)", # noqa: E501
# retarget to latest (selected by vcvarsall.bat)
"10.0": "$(WindowsSDKVersion)", # noqa: E501
}
},
"build": [
cmd_rmdir("Lib"),
- cmd_rmdir(r"Projects\VC2019\Release"),
- cmd_msbuild(r"Projects\VC2019\lcms2.sln", "Release", "Clean"),
+ cmd_rmdir(r"Projects\VC2022\Release"),
+ cmd_msbuild(r"Projects\VC2022\lcms2.sln", "Release", "Clean"),
cmd_msbuild(
- r"Projects\VC2019\lcms2.sln", "Release", "lcms2_static:Rebuild"
+ r"Projects\VC2022\lcms2.sln", "Release", "lcms2_static:Rebuild"
),
cmd_xcopy("include", "{inc_dir}"),
],