From 7308a5fd11ba96d41ad6c38782cae3c0fc197aff Mon Sep 17 00:00:00 2001 From: Nicholas Hayes <0xC0000054@users.noreply.github.com> Date: Thu, 3 Nov 2022 21:57:12 -0600 Subject: [PATCH] Set the vcpkg baseline to a commit that includes lcms 2.14 This removes the need to check the lcms version before writing the CICP tag. --- src/common/ColorProfileGeneration.cpp | 2 -- vcpkg.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/ColorProfileGeneration.cpp b/src/common/ColorProfileGeneration.cpp index 6a0d4e3..8f196dd 100644 --- a/src/common/ColorProfileGeneration.cpp +++ b/src/common/ColorProfileGeneration.cpp @@ -258,7 +258,6 @@ namespace heif_matrix_coefficients matrixCoefficients, bool fullRange) { -#if LCMS_VERSION >= 2140 cmsVideoSignalType cicp{}; cicp.ColourPrimaries = static_cast(primaries); cicp.TransferCharacteristics = static_cast(transferCharacteristics); @@ -266,7 +265,6 @@ namespace cicp.VideoFullRangeFlag = static_cast(fullRange); cmsWriteTag(profile, cmsSigcicpTag, &cicp); -#endif // LCMS_VERSION >= 2140 } } diff --git a/vcpkg.json b/vcpkg.json index b2dce17..070dd3d 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -5,5 +5,6 @@ "homepage": "https://github.com/0xC0000054/avif-format", "dependencies": [ "lcms" - ] + ], + "builtin-baseline": "e3a3942a9eb0cb47c12898e5fd819f258441b6f6" } \ No newline at end of file